<?php

declare(strict_types=1);

namespace Apexl\Vault\Interfaces;

/**
 * The 4.x name for the query builder.
 *
 * It never said what it was, and it was lowercase where everything alongside it is
 * StudlyCaps. Kept as a real interface that the drivers implement, so a 4.x type
 * declaration still accepts a 5.0 driver.
 *
 * This cannot be a class_alias(): PHP resolves a declared type by comparing names
 * against the interfaces the object's class already lists, and never autoloads the
 * declared type to do it. A lazily-aliased name is therefore invisible to exactly the
 * thing it exists to serve — `function f(driver $q)` fataled with a TypeError and
 * `$driver instanceof driver` quietly returned false.
 *
 * @deprecated 5.0 Use QueryBuilderInterface. This interface is removed in 6.0.
 * @see QueryBuilderInterface
 */
interface Driver extends QueryBuilderInterface
{
}
