Skip to content

Commit 003090b

Browse files
authored
Deprecate Setup::registerAutoloadDirectory() (#9249)
1 parent 56e0ac0 commit 003090b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

UPGRADE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Upgrade to 2.11
22

3+
## Deprecated: `Setup::registerAutoloadDirectory()`
4+
5+
Use Composer's autoloader instead.
6+
37
## Deprecated: `AbstractHydrator::hydrateRow()`
48

59
Following the deprecation of the method `AbstractHydrator::iterate()`, the

lib/Doctrine/ORM/Tools/Setup.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ class Setup
4040
* Use this method to register all autoloads for a downloaded Doctrine library.
4141
* Pick the directory the library was uncompressed into.
4242
*
43+
* @deprecated Use Composer's autoloader instead.
44+
*
4345
* @param string $directory
4446
*
4547
* @return void

0 commit comments

Comments
 (0)