diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Tools/ToolEvents.php')
-rw-r--r-- | vendor/doctrine/orm/src/Tools/ToolEvents.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Tools/ToolEvents.php b/vendor/doctrine/orm/src/Tools/ToolEvents.php new file mode 100644 index 0000000..fac37fa --- /dev/null +++ b/vendor/doctrine/orm/src/Tools/ToolEvents.php | |||
@@ -0,0 +1,23 @@ | |||
1 | <?php | ||
2 | |||
3 | declare(strict_types=1); | ||
4 | |||
5 | namespace Doctrine\ORM\Tools; | ||
6 | |||
7 | class ToolEvents | ||
8 | { | ||
9 | /** | ||
10 | * The postGenerateSchemaTable event occurs in SchemaTool#getSchemaFromMetadata() | ||
11 | * whenever an entity class is transformed into its table representation. It receives | ||
12 | * the current non-complete Schema instance, the Entity Metadata Class instance and | ||
13 | * the Schema Table instance of this entity. | ||
14 | */ | ||
15 | public const postGenerateSchemaTable = 'postGenerateSchemaTable'; | ||
16 | |||
17 | /** | ||
18 | * The postGenerateSchema event is triggered in SchemaTool#getSchemaFromMetadata() | ||
19 | * after all entity classes have been transformed into the related Schema structure. | ||
20 | * The EventArgs contain the EntityManager and the created Schema instance. | ||
21 | */ | ||
22 | public const postGenerateSchema = 'postGenerateSchema'; | ||
23 | } | ||