Skip to content

Commit

Permalink
DoctrineSetup was renamed to ORMSetup
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Feb 4, 2024
1 parent 7527b78 commit ec23e56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,16 +495,16 @@ The methods have been replaced by PSR-6 compatible counterparts

## BC BREAK: Remove `Doctrine\ORM\Configuration::newDefaultAnnotationDriver`

This functionality has been moved to the new `DoctrineSetup` class. Call
`Doctrine\ORM\Tools\DoctrineSetup::createDefaultAnnotationDriver()` to create
This functionality has been moved to the new `ORMSetup` class. Call
`Doctrine\ORM\Tools\ORMSetup::createDefaultAnnotationDriver()` to create
a new annotation driver.

## BC BREAK: Remove `Doctrine\ORM\Tools\Setup`

In our effort to migrate from Doctrine Cache to PSR-6, the `Setup` class which
accepted a Doctrine Cache instance in each method has been removed.

The replacement is `Doctrine\ORM\Tools\DoctrineSetup` which accepts a PSR-6
The replacement is `Doctrine\ORM\Tools\ORMSetup` which accepts a PSR-6
cache instead.

## BC BREAK: Removed named queries
Expand Down

0 comments on commit ec23e56

Please sign in to comment.