File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/laminas/laminas-db/src/Sql/Ddl/DropTable.php
<?php
/**
* @see https://github.com/laminas/laminas-db for the canonical source repository
* @copyright https://github.com/laminas/laminas-db/blob/master/COPYRIGHT.md
* @license https://github.com/laminas/laminas-db/blob/master/LICENSE.md New BSD License
*/
namespace Laminas\Db\Sql\Ddl;
use Laminas\Db\Adapter\Platform\PlatformInterface;
use Laminas\Db\Sql\AbstractSql;
use Laminas\Db\Sql\TableIdentifier;
class DropTable extends AbstractSql implements SqlInterface
{
const TABLE = 'table';
/**
* @var array
*/
protected $specifications = [
self::TABLE => 'DROP TABLE %1$s'
];
/**
* @var string
*/
protected $table = '';
/**
* @param string|TableIdentifier $table
*/
public function __construct($table = '')
{
$this->table = $table;
}
protected function processTable(PlatformInterface $adapterPlatform = null)
{
return [$this->resolveTable($this->table, $adapterPlatform)];
}
}