Files
rspade_system/vendor/doctrine/dbal/src/Event/SchemaDropTableEventArgs.php
root f6fac6c4bc Fix bin/publish: copy docs.dist from project root
Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 02:08:33 +00:00

60 lines
1.1 KiB
PHP
Executable File

<?php
namespace Doctrine\DBAL\Event;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Schema\Table;
/**
* Event Arguments used when the SQL query for dropping tables are generated inside {@see AbstractPlatform}.
*
* @deprecated
*/
class SchemaDropTableEventArgs extends SchemaEventArgs
{
/** @var string|Table */
private $table;
private AbstractPlatform $platform;
/** @var string|null */
private $sql;
/** @param string|Table $table */
public function __construct($table, AbstractPlatform $platform)
{
$this->table = $table;
$this->platform = $platform;
}
/** @return string|Table */
public function getTable()
{
return $this->table;
}
/** @return AbstractPlatform */
public function getPlatform()
{
return $this->platform;
}
/**
* @param string $sql
*
* @return SchemaDropTableEventArgs
*/
public function setSql($sql)
{
$this->sql = $sql;
return $this;
}
/** @return string|null */
public function getSql()
{
return $this->sql;
}
}