Server IP : 66.29.132.124 / Your IP : 13.59.116.142 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/vendor/doctrine/dbal/src/Event/ |
Upload File : |
<?php namespace Doctrine\DBAL\Event; use Doctrine\DBAL\Platforms\AbstractPlatform; use Doctrine\DBAL\Schema\Table; use InvalidArgumentException; /** * Event Arguments used when the SQL query for dropping tables are generated inside {@see AbstractPlatform}. */ class SchemaDropTableEventArgs extends SchemaEventArgs { /** @var string|Table */ private $table; /** @var AbstractPlatform */ private $platform; /** @var string|null */ private $sql; /** * @param string|Table $table * * @throws InvalidArgumentException */ 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; } }