summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Mapping/Table.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2026-10-18 00:08:23 +0200
committerpolo <ordipolo@gmx.fr>2026-10-18 00:10:03 +0200
commit05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch)
treecf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/doctrine/orm/src/Mapping/Table.php
parent32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff)
downloadAppliGestionPHP-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/Table.php')
-rw-r--r--vendor/doctrine/orm/src/Mapping/Table.php45
1 files changed, 0 insertions, 45 deletions
diff --git a/vendor/doctrine/orm/src/Mapping/Table.php b/vendor/doctrine/orm/src/Mapping/Table.php
deleted file mode 100644
index ac1e8ed..0000000
--- a/vendor/doctrine/orm/src/Mapping/Table.php
+++ /dev/null
@@ -1,45 +0,0 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Doctrine\ORM\Mapping;
6
7use Attribute;
8use Doctrine\Deprecations\Deprecation;
9
10#[Attribute(Attribute::TARGET_CLASS)]
11final class Table implements MappingAttribute
12{
13 /**
14 * @param array<Index>|null $indexes
15 * @param array<UniqueConstraint>|null $uniqueConstraints
16 * @param array<string,mixed> $options
17 */
18 public function __construct(
19 public readonly string|null $name = null,
20 public readonly string|null $schema = null,
21 public readonly array|null $indexes = null,
22 public readonly array|null $uniqueConstraints = null,
23 public readonly array $options = [],
24 ) {
25 if ($this->indexes !== null) {
26 Deprecation::trigger(
27 'doctrine/orm',
28 'https://github.com/doctrine/orm/pull/11357',
29 'Providing the property $indexes on %s does not have any effect and will be removed in Doctrine ORM 4.0. Please use the %s attribute instead.',
30 self::class,
31 Index::class,
32 );
33 }
34
35 if ($this->uniqueConstraints !== null) {
36 Deprecation::trigger(
37 'doctrine/orm',
38 'https://github.com/doctrine/orm/pull/11357',
39 'Providing the property $uniqueConstraints on %s does not have any effect and will be removed in Doctrine ORM 4.0. Please use the %s attribute instead.',
40 self::class,
41 UniqueConstraint::class,
42 );
43 }
44 }
45}