Factorize manager call
This commit is contained in:
parent
445f2f93f6
commit
901ea49a32
1 changed files with 1 additions and 2 deletions
|
|
@ -66,8 +66,7 @@ abstract class AbstractProvider extends BaseAbstractProvider
|
|||
}
|
||||
|
||||
if ($this->sliceFetcher) {
|
||||
$identifierFieldNames = $this->managerRegistry
|
||||
->getManagerForClass($this->objectClass)
|
||||
$identifierFieldNames = $manager
|
||||
->getClassMetadata($this->objectClass)
|
||||
->getIdentifierFieldNames();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue