Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5966323
SchemaIndexDefinitionEventArgs.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
SchemaIndexDefinitionEventArgs.php
View Options
<?php
namespace
Doctrine\DBAL\Event
;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\Schema\Index
;
/**
* Event Arguments used when the portable index definition is generated inside {@see AbstractSchemaManager}.
*
* @deprecated
*/
class
SchemaIndexDefinitionEventArgs
extends
SchemaEventArgs
{
private
?
Index
$index
=
null
;
/**
* Raw index data as fetched from the database.
*
* @var mixed[]
*/
private
array
$tableIndex
;
/** @var string */
private
$table
;
private
Connection
$connection
;
/**
* @param mixed[] $tableIndex
* @param string $table
*/
public
function
__construct
(
array
$tableIndex
,
$table
,
Connection
$connection
)
{
$this
->
tableIndex
=
$tableIndex
;
$this
->
table
=
$table
;
$this
->
connection
=
$connection
;
}
/**
* Allows to clear the index which means the index will be excluded from tables index list.
*
* @return SchemaIndexDefinitionEventArgs
*/
public
function
setIndex
(?
Index
$index
=
null
)
{
$this
->
index
=
$index
;
return
$this
;
}
/** @return Index|null */
public
function
getIndex
()
{
return
$this
->
index
;
}
/** @return mixed[] */
public
function
getTableIndex
()
{
return
$this
->
tableIndex
;
}
/** @return string */
public
function
getTable
()
{
return
$this
->
table
;
}
/** @return Connection */
public
function
getConnection
()
{
return
$this
->
connection
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 11:33 (5 d, 8 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
81/e3/99ba106f9c0a0b662f354ff1555a
Default Alt Text
SchemaIndexDefinitionEventArgs.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment