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 --- .../persistence/src/Persistence/ObjectManager.php | 145 --------------------- 1 file changed, 145 deletions(-) delete mode 100644 vendor/doctrine/persistence/src/Persistence/ObjectManager.php (limited to 'vendor/doctrine/persistence/src/Persistence/ObjectManager.php') diff --git a/vendor/doctrine/persistence/src/Persistence/ObjectManager.php b/vendor/doctrine/persistence/src/Persistence/ObjectManager.php deleted file mode 100644 index efac5c3..0000000 --- a/vendor/doctrine/persistence/src/Persistence/ObjectManager.php +++ /dev/null @@ -1,145 +0,0 @@ -find($id). - * - * @param string $className The class name of the object to find. - * @param mixed $id The identity of the object to find. - * @psalm-param class-string $className - * - * @return object|null The found object. - * @psalm-return T|null - * - * @template T of object - */ - public function find(string $className, $id); - - /** - * Tells the ObjectManager to make an instance managed and persistent. - * - * The object will be entered into the database as a result of the flush operation. - * - * NOTE: The persist operation always considers objects that are not yet known to - * this ObjectManager as NEW. Do not pass detached objects to the persist operation. - * - * @param object $object The instance to make managed and persistent. - * - * @return void - */ - public function persist(object $object); - - /** - * Removes an object instance. - * - * A removed object will be removed from the database as a result of the flush operation. - * - * @param object $object The object instance to remove. - * - * @return void - */ - public function remove(object $object); - - /** - * Clears the ObjectManager. All objects that are currently managed - * by this ObjectManager become detached. - * - * @return void - */ - public function clear(); - - /** - * Detaches an object from the ObjectManager, causing a managed object to - * become detached. Unflushed changes made to the object if any - * (including removal of the object), will not be synchronized to the database. - * Objects which previously referenced the detached object will continue to - * reference it. - * - * @param object $object The object to detach. - * - * @return void - */ - public function detach(object $object); - - /** - * Refreshes the persistent state of an object from the database, - * overriding any local changes that have not yet been persisted. - * - * @param object $object The object to refresh. - * - * @return void - */ - public function refresh(object $object); - - /** - * Flushes all changes to objects that have been queued up to now to the database. - * This effectively synchronizes the in-memory state of managed objects with the - * database. - * - * @return void - */ - public function flush(); - - /** - * Gets the repository for a class. - * - * @psalm-param class-string $className - * - * @psalm-return ObjectRepository - * - * @template T of object - */ - public function getRepository(string $className); - - /** - * Returns the ClassMetadata descriptor for a class. - * - * The class name must be the fully-qualified class name without a leading backslash - * (as it is returned by get_class($obj)). - * - * @psalm-param class-string $className - * - * @psalm-return ClassMetadata - * - * @template T of object - */ - public function getClassMetadata(string $className); - - /** - * Gets the metadata factory used to gather the metadata of classes. - * - * @psalm-return ClassMetadataFactory> - */ - public function getMetadataFactory(); - - /** - * Helper method to initialize a lazy loading proxy or persistent collection. - * - * This method is a no-op for other objects. - * - * @return void - */ - public function initializeObject(object $obj); - - /** - * Checks if the object is part of the current UnitOfWork and therefore managed. - * - * @return bool - */ - public function contains(object $object); -} -- cgit v1.2.3