SchemaIndexDefinitionListener

Event listener to handle additional processing for index definitions to integrate MySQL index sub parts.

Table of Contents

Methods

onSchemaIndexDefinition()  : mixed
Listener for index definition events. This intercepts definitions for indexes and builds the appropriate Index Object taking the sub part length into account when a MySQL platform has been detected.
buildIndex()  : Index
Build a Doctrine Index Object based on the information gathered from the MySQL information schema.

Methods

onSchemaIndexDefinition()

Listener for index definition events. This intercepts definitions for indexes and builds the appropriate Index Object taking the sub part length into account when a MySQL platform has been detected.

public onSchemaIndexDefinition(SchemaIndexDefinitionEventArgs $event) : mixed
Parameters
$event : SchemaIndexDefinitionEventArgs
Tags
throws
Exception
throws
InvalidArgumentException

buildIndex()

Build a Doctrine Index Object based on the information gathered from the MySQL information schema.

protected buildIndex(array<string|int, mixed> $tableIndexRows) : Index
Parameters
$tableIndexRows : array<string|int, mixed>
Tags
throws
InvalidArgumentException
Return values
Index

        
On this page

Search results