diff options
| author | polo <ordipolo@gmx.fr> | 2026-10-18 00:08:23 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-10-18 00:10:03 +0200 |
| commit | 05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch) | |
| tree | cf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/doctrine/orm/src/Mapping/NamingStrategy.php | |
| parent | 32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff) | |
| download | AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.gz AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.bz2 AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.zip | |
sortie de vendor du dépôt, oubli dans config-template.ini
Diffstat (limited to 'vendor/doctrine/orm/src/Mapping/NamingStrategy.php')
| -rw-r--r-- | vendor/doctrine/orm/src/Mapping/NamingStrategy.php | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/vendor/doctrine/orm/src/Mapping/NamingStrategy.php b/vendor/doctrine/orm/src/Mapping/NamingStrategy.php deleted file mode 100644 index afedebe..0000000 --- a/vendor/doctrine/orm/src/Mapping/NamingStrategy.php +++ /dev/null | |||
| @@ -1,71 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\ORM\Mapping; | ||
| 6 | |||
| 7 | /** | ||
| 8 | * A set of rules for determining the physical column and table names | ||
| 9 | * | ||
| 10 | * @link www.doctrine-project.org | ||
| 11 | */ | ||
| 12 | interface NamingStrategy | ||
| 13 | { | ||
| 14 | /** | ||
| 15 | * Returns a table name for an entity class. | ||
| 16 | * | ||
| 17 | * @param class-string $className | ||
| 18 | */ | ||
| 19 | public function classToTableName(string $className): string; | ||
| 20 | |||
| 21 | /** | ||
| 22 | * Returns a column name for a property. | ||
| 23 | * | ||
| 24 | * @param class-string $className | ||
| 25 | */ | ||
| 26 | public function propertyToColumnName(string $propertyName, string $className): string; | ||
| 27 | |||
| 28 | /** | ||
| 29 | * Returns a column name for an embedded property. | ||
| 30 | * | ||
| 31 | * @param class-string $className | ||
| 32 | * @param class-string $embeddedClassName | ||
| 33 | */ | ||
| 34 | public function embeddedFieldToColumnName( | ||
| 35 | string $propertyName, | ||
| 36 | string $embeddedColumnName, | ||
| 37 | string $className, | ||
| 38 | string $embeddedClassName, | ||
| 39 | ): string; | ||
| 40 | |||
| 41 | /** | ||
| 42 | * Returns the default reference column name. | ||
| 43 | */ | ||
| 44 | public function referenceColumnName(): string; | ||
| 45 | |||
| 46 | /** | ||
| 47 | * Returns a join column name for a property. | ||
| 48 | * | ||
| 49 | * @param class-string $className | ||
| 50 | */ | ||
| 51 | public function joinColumnName(string $propertyName, string $className): string; | ||
| 52 | |||
| 53 | /** | ||
| 54 | * Returns a join table name. | ||
| 55 | * | ||
| 56 | * @param class-string $sourceEntity | ||
| 57 | * @param class-string $targetEntity | ||
| 58 | */ | ||
| 59 | public function joinTableName(string $sourceEntity, string $targetEntity, string $propertyName): string; | ||
| 60 | |||
| 61 | /** | ||
| 62 | * Returns the foreign key column name for the given parameters. | ||
| 63 | * | ||
| 64 | * @param class-string $entityName An entity. | ||
| 65 | * @param string|null $referencedColumnName A property name or null in | ||
| 66 | * case of a self-referencing | ||
| 67 | * entity with join columns | ||
| 68 | * defined in the mapping | ||
| 69 | */ | ||
| 70 | public function joinKeyColumnName(string $entityName, string|null $referencedColumnName): string; | ||
| 71 | } | ||
