From 05e38eadbeb3de19e5b26003c2b401e00bb71df4 Mon Sep 17 00:00:00 2001 From: polo Date: Sun, 18 Oct 2026 00:08:23 +0200 Subject: =?UTF-8?q?sortie=20de=20vendor=20du=20d=C3=A9p=C3=B4t,=20oubli=20?= =?UTF-8?q?dans=20config-template.ini?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/Persistence/ManagerRegistry.php | 89 ---------------------- 1 file changed, 89 deletions(-) delete mode 100644 vendor/doctrine/persistence/src/Persistence/ManagerRegistry.php (limited to 'vendor/doctrine/persistence/src/Persistence/ManagerRegistry.php') diff --git a/vendor/doctrine/persistence/src/Persistence/ManagerRegistry.php b/vendor/doctrine/persistence/src/Persistence/ManagerRegistry.php deleted file mode 100644 index 46599a5..0000000 --- a/vendor/doctrine/persistence/src/Persistence/ManagerRegistry.php +++ /dev/null @@ -1,89 +0,0 @@ - An array of ObjectManager instances - */ - public function getManagers(); - - /** - * Resets a named object manager. - * - * This method is useful when an object manager has been closed - * because of a rollbacked transaction AND when you think that - * it makes sense to get a new one to replace the closed one. - * - * Be warned that you will get a brand new object manager as - * the existing one is not useable anymore. This means that any - * other object with a dependency on this object manager will - * hold an obsolete reference. You can inject the registry instead - * to avoid this problem. - * - * @param string|null $name The object manager name (null for the default one). - * - * @return ObjectManager - */ - public function resetManager(?string $name = null); - - /** - * Gets all object manager names and associated service IDs. A service ID - * is a string that allows to obtain an object manager, typically from a - * PSR-11 container. - * - * @return array An array with object manager names as keys, - * and service IDs as values. - */ - public function getManagerNames(); - - /** - * Gets the ObjectRepository for a persistent object. - * - * @param string $persistentObject The name of the persistent object. - * @param string|null $persistentManagerName The object manager name (null for the default one). - * @psalm-param class-string $persistentObject - * - * @return ObjectRepository - * @psalm-return ObjectRepository - * - * @template T of object - */ - public function getRepository( - string $persistentObject, - ?string $persistentManagerName = null - ); - - /** - * Gets the object manager associated with a given class. - * - * @param class-string $class A persistent object class name. - * - * @return ObjectManager|null - */ - public function getManagerForClass(string $class); -} -- cgit v1.2.3