Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5976270
SchemaDropTableEventArgs.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
SchemaDropTableEventArgs.php
View Options
<?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}.
*
* @deprecated
*/
class
SchemaDropTableEventArgs
extends
SchemaEventArgs
{
/** @var string|Table */
private
$table
;
private
AbstractPlatform
$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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 18:59 (1 d, 23 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c9/dd/d4fe3b50b8706c12a41d15f04c77
Default Alt Text
SchemaDropTableEventArgs.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment