Doctrine


Doctrine\ORM\Tools\ToolEvents
/Doctrine/ORM/Tools/ToolEvents.php at line 24

Class ToolEvents

ToolEvents

public class ToolEvents


Field Summary
final string

postGenerateSchema

The postGenerateSchema event is triggered in SchemaTool#getSchemaFromMetadata() after all entity classes have been transformed into the related Schema structure.

final string

postGenerateSchemaTable

The postGenerateSchemaTable event occurs in SchemaTool#getSchemaFromMetadata() whenever an entity class is transformed into its table representation.

Field Detail

/Doctrine/ORM/Tools/ToolEvents.php at line 43

postGenerateSchema

public final string postGenerateSchema = 'postGenerateSchema'

The postGenerateSchema event is triggered in SchemaTool#getSchemaFromMetadata() after all entity classes have been transformed into the related Schema structure. The EventArgs contain the EntityManager and the created Schema instance.


/Doctrine/ORM/Tools/ToolEvents.php at line 34

postGenerateSchemaTable

public final string postGenerateSchemaTable = 'postGenerateSchemaTable'

The postGenerateSchemaTable event occurs in SchemaTool#getSchemaFromMetadata() whenever an entity class is transformed into its table representation. It recieves the current non-complete Schema instance, the Entity Metadata Class instance and the Schema Table instance of this entity.


Doctrine