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/Persisters/PersisterException.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/Persisters/PersisterException.php')
| -rw-r--r-- | vendor/doctrine/orm/src/Persisters/PersisterException.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vendor/doctrine/orm/src/Persisters/PersisterException.php b/vendor/doctrine/orm/src/Persisters/PersisterException.php deleted file mode 100644 index 0016472..0000000 --- a/vendor/doctrine/orm/src/Persisters/PersisterException.php +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\ORM\Persisters; | ||
| 6 | |||
| 7 | use Doctrine\ORM\Exception\ORMException; | ||
| 8 | use Exception; | ||
| 9 | |||
| 10 | use function sprintf; | ||
| 11 | |||
| 12 | class PersisterException extends Exception implements ORMException | ||
| 13 | { | ||
| 14 | public static function matchingAssocationFieldRequiresObject(string $class, string $associationName): PersisterException | ||
| 15 | { | ||
| 16 | return new self(sprintf( | ||
| 17 | 'Cannot match on %s::%s with a non-object value. Matching objects by id is ' . | ||
| 18 | 'not compatible with matching on an in-memory collection, which compares objects by reference.', | ||
| 19 | $class, | ||
| 20 | $associationName, | ||
| 21 | )); | ||
| 22 | } | ||
| 23 | } | ||
