Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
Since support for persistence 2 has been dropped, this method may no
longer acces an aliased class name.
Besides, providing an FQCN with a leading backslash should works since
removing it is the first thing that happens inside
AbstractClassMetadataFactory::getMetadataFor().
  • Loading branch information
greg0ire committed Jul 24, 2023
1 parent b68cab1 commit 68ac6bb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/Doctrine/ORM/EntityManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,6 @@ public function rollback(): void
/**
* Returns the ORM metadata 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)) or an aliased class name.
*
* Examples:
* MyProject\Domain\User
* sales:PriceRequest
*
* Internal note: Performance-sensitive method.
*
* {@inheritDoc}
Expand Down

0 comments on commit 68ac6bb

Please sign in to comment.