summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Tools/ToolEvents.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2024-08-13 23:45:21 +0200
committerpolo <ordipolo@gmx.fr>2024-08-13 23:45:21 +0200
commitbf6655a534a6775d30cafa67bd801276bda1d98d (patch)
treec6381e3f6c81c33eab72508f410b165ba05f7e9c /vendor/doctrine/orm/src/Tools/ToolEvents.php
parent94d67a4b51f8e62e7d518cce26a526ae1ec48278 (diff)
downloadAppliGestionPHP-bf6655a534a6775d30cafa67bd801276bda1d98d.zip
VERSION 0.2 doctrine ORM et entités
Diffstat (limited to 'vendor/doctrine/orm/src/Tools/ToolEvents.php')
-rw-r--r--vendor/doctrine/orm/src/Tools/ToolEvents.php23
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
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Tools;
6
7class 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}