@@ -51,9 +51,9 @@ discard block |
||
51 | 51 | protected function configure() |
52 | 52 | { |
53 | 53 | $this->setName('orm:mapping:describe') |
54 | - ->addArgument('entityName', InputArgument::REQUIRED, 'Full or partial name of entity') |
|
55 | - ->setDescription('Display information about mapped objects') |
|
56 | - ->setHelp(<<<'EOT' |
|
54 | + ->addArgument('entityName', InputArgument::REQUIRED, 'Full or partial name of entity') |
|
55 | + ->setDescription('Display information about mapped objects') |
|
56 | + ->setHelp(<<<'EOT' |
|
57 | 57 | The %command.full_name% command describes the metadata for the given full or partial entity class name. |
58 | 58 | |
59 | 59 | <info>%command.full_name%</info> My\Namespace\Entity\MyEntity |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | <info>%command.full_name%</info> MyEntity |
64 | 64 | EOT |
65 | - ); |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
@@ -139,8 +139,8 @@ discard block |
||
139 | 139 | private function getMappedEntities(EntityManagerInterface $entityManager) |
140 | 140 | { |
141 | 141 | $entityClassNames = $entityManager->getConfiguration() |
142 | - ->getMetadataDriverImpl() |
|
143 | - ->getAllClassNames(); |
|
142 | + ->getMetadataDriverImpl() |
|
143 | + ->getAllClassNames(); |
|
144 | 144 | |
145 | 145 | if (! $entityClassNames) { |
146 | 146 | throw new InvalidArgumentException( |
@@ -142,9 +142,9 @@ discard block |
||
142 | 142 | ->getMetadataDriverImpl() |
143 | 143 | ->getAllClassNames(); |
144 | 144 | |
145 | - if (! $entityClassNames) { |
|
145 | + if ( ! $entityClassNames) { |
|
146 | 146 | throw new InvalidArgumentException( |
147 | - 'You do not have any mapped Doctrine ORM entities according to the current configuration. ' . |
|
147 | + 'You do not have any mapped Doctrine ORM entities according to the current configuration. '. |
|
148 | 148 | 'If you have entities or mapping files you should check your mapping configuration for errors.' |
149 | 149 | ); |
150 | 150 | } |
@@ -169,12 +169,12 @@ discard block |
||
169 | 169 | |
170 | 170 | $matches = array_filter( |
171 | 171 | $this->getMappedEntities($entityManager), |
172 | - static function ($mappedEntity) use ($entityName) { |
|
173 | - return preg_match('{' . preg_quote($entityName) . '}', $mappedEntity); |
|
172 | + static function($mappedEntity) use ($entityName) { |
|
173 | + return preg_match('{'.preg_quote($entityName).'}', $mappedEntity); |
|
174 | 174 | } |
175 | 175 | ); |
176 | 176 | |
177 | - if (! $matches) { |
|
177 | + if ( ! $matches) { |
|
178 | 178 | throw new InvalidArgumentException(sprintf( |
179 | 179 | 'Could not find any mapped Entity classes matching "%s"', |
180 | 180 | $entityName |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | |
227 | 227 | $output[] = $this->formatField( |
228 | 228 | sprintf(' %s', $parentClass->getParent()), |
229 | - ($parentClass->isRootEntity() ? '(Root) ' : '') . $this->formatValue($attributes) |
|
229 | + ($parentClass->isRootEntity() ? '(Root) ' : '').$this->formatValue($attributes) |
|
230 | 230 | ); |
231 | 231 | } |
232 | 232 | |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | } |
252 | 252 | |
253 | 253 | if (is_bool($value)) { |
254 | - return '<comment>' . ($value ? 'True' : 'False') . '</comment>'; |
|
254 | + return '<comment>'.($value ? 'True' : 'False').'</comment>'; |
|
255 | 255 | } |
256 | 256 | |
257 | 257 | if (empty($value)) { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $metadata = $it->current(); |
61 | 61 | |
62 | 62 | foreach ($this->filter as $filter) { |
63 | - $pregResult = preg_match('/' . $filter . '/', $metadata->getClassName()); |
|
63 | + $pregResult = preg_match('/'.$filter.'/', $metadata->getClassName()); |
|
64 | 64 | |
65 | 65 | if ($pregResult === false) { |
66 | 66 | throw new RuntimeException( |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | $ce = []; |
80 | 80 | |
81 | 81 | foreach ($class->getDeclaredPropertiesIterator() as $fieldName => $association) { |
82 | - if (! ($association instanceof AssociationMetadata)) { |
|
82 | + if ( ! ($association instanceof AssociationMetadata)) { |
|
83 | 83 | continue; |
84 | 84 | } |
85 | 85 | |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | foreach ($class->getSubClasses() as $subClass) { |
90 | - if (! in_array($class->getClassName(), class_parents($subClass), true)) { |
|
90 | + if ( ! in_array($class->getClassName(), class_parents($subClass), true)) { |
|
91 | 91 | $message = "According to the discriminator map class, '%s' has to be a child of '%s', but these entities are not related through inheritance."; |
92 | 92 | |
93 | 93 | $ce[] = sprintf($message, $subClass, $class->getClassName()); |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | $fieldName = $association->getName(); |
107 | 107 | $targetEntity = $association->getTargetEntity(); |
108 | 108 | |
109 | - if (! class_exists($targetEntity) || $metadataFactory->isTransient($targetEntity)) { |
|
109 | + if ( ! class_exists($targetEntity) || $metadataFactory->isTransient($targetEntity)) { |
|
110 | 110 | $message = "The target entity '%s' specified on %s#%s is unknown or not an entity."; |
111 | 111 | |
112 | 112 | return [sprintf($message, $targetEntity, $class->getClassName(), $fieldName)]; |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | |
126 | 126 | /** @var ClassMetadata $targetMetadata */ |
127 | 127 | $targetMetadata = $metadataFactory->getMetadataFor($targetEntity); |
128 | - $containsForeignId = array_filter($targetMetadata->identifier, static function ($identifier) use ($targetMetadata) { |
|
128 | + $containsForeignId = array_filter($targetMetadata->identifier, static function($identifier) use ($targetMetadata) { |
|
129 | 129 | $targetProperty = $targetMetadata->getProperty($identifier); |
130 | 130 | |
131 | 131 | return $targetProperty instanceof AssociationMetadata; |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | /** @var AssociationMetadata $targetAssociation */ |
142 | 142 | $targetAssociation = $targetMetadata->getProperty($mappedBy); |
143 | 143 | |
144 | - if (! $targetAssociation) { |
|
144 | + if ( ! $targetAssociation) { |
|
145 | 145 | $message = 'The association %s#%s refers to the owning side property %s#%s which does not exist.'; |
146 | 146 | |
147 | 147 | $ce[] = sprintf($message, $class->getClassName(), $fieldName, $targetEntity, $mappedBy); |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | /** @var AssociationMetadata $targetAssociation */ |
166 | 166 | $targetAssociation = $targetMetadata->getProperty($inversedBy); |
167 | 167 | |
168 | - if (! $targetAssociation) { |
|
168 | + if ( ! $targetAssociation) { |
|
169 | 169 | $message = 'The association %s#%s refers to the inverse side property %s#%s which does not exist.'; |
170 | 170 | |
171 | 171 | $ce[] = sprintf($message, $class->getClassName(), $fieldName, $targetEntity, $inversedBy); |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | $joinTable = $association->getJoinTable(); |
210 | 210 | |
211 | 211 | foreach ($joinTable->getJoinColumns() as $joinColumn) { |
212 | - if (! in_array($joinColumn->getReferencedColumnName(), $classIdentifierColumns, true)) { |
|
212 | + if ( ! in_array($joinColumn->getReferencedColumnName(), $classIdentifierColumns, true)) { |
|
213 | 213 | $message = "The referenced column name '%s' has to be a primary key column on the target entity class '%s'."; |
214 | 214 | |
215 | 215 | $ce[] = sprintf($message, $joinColumn->getReferencedColumnName(), $class->getClassName()); |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | } |
219 | 219 | |
220 | 220 | foreach ($joinTable->getInverseJoinColumns() as $inverseJoinColumn) { |
221 | - if (! in_array($inverseJoinColumn->getReferencedColumnName(), $targetIdentifierColumns, true)) { |
|
221 | + if ( ! in_array($inverseJoinColumn->getReferencedColumnName(), $targetIdentifierColumns, true)) { |
|
222 | 222 | $message = "The referenced column name '%s' has to be a primary key column on the target entity class '%s'."; |
223 | 223 | |
224 | 224 | $ce[] = sprintf($message, $inverseJoinColumn->getReferencedColumnName(), $targetMetadata->getClassName()); |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | |
229 | 229 | if (count($targetIdentifierColumns) !== count($joinTable->getInverseJoinColumns())) { |
230 | 230 | $columnNames = array_map( |
231 | - static function (JoinColumnMetadata $joinColumn) { |
|
231 | + static function(JoinColumnMetadata $joinColumn) { |
|
232 | 232 | return $joinColumn->getReferencedColumnName(); |
233 | 233 | }, |
234 | 234 | $joinTable->getInverseJoinColumns() |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | |
244 | 244 | if (count($classIdentifierColumns) !== count($joinTable->getJoinColumns())) { |
245 | 245 | $columnNames = array_map( |
246 | - static function (JoinColumnMetadata $joinColumn) { |
|
246 | + static function(JoinColumnMetadata $joinColumn) { |
|
247 | 247 | return $joinColumn->getReferencedColumnName(); |
248 | 248 | }, |
249 | 249 | $joinTable->getJoinColumns() |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | $joinColumns = $association->getJoinColumns(); |
261 | 261 | |
262 | 262 | foreach ($joinColumns as $joinColumn) { |
263 | - if (! in_array($joinColumn->getReferencedColumnName(), $identifierColumns, true)) { |
|
263 | + if ( ! in_array($joinColumn->getReferencedColumnName(), $identifierColumns, true)) { |
|
264 | 264 | $message = "The referenced column name '%s' has to be a primary key column on the target entity class '%s'."; |
265 | 265 | |
266 | 266 | $ce[] = sprintf($message, $joinColumn->getReferencedColumnName(), $targetMetadata->getClassName()); |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | continue; |
292 | 292 | } |
293 | 293 | |
294 | - if (! ($targetProperty instanceof AssociationMetadata)) { |
|
294 | + if ( ! ($targetProperty instanceof AssociationMetadata)) { |
|
295 | 295 | $message = "The association %s#%s is ordered by a property '%s' that is non-existing field on the target entity '%s'."; |
296 | 296 | |
297 | 297 | $ce[] = sprintf($message, $class->getClassName(), $fieldName, $orderField, $targetMetadata->getClassName()); |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $expectedLockVersion = $expectedLockVersion instanceof DateTime ? $expectedLockVersion->getTimestamp() : $expectedLockVersion; |
60 | 60 | $actualLockVersion = $actualLockVersion instanceof DateTime ? $actualLockVersion->getTimestamp() : $actualLockVersion; |
61 | 61 | |
62 | - return new self('The optimistic lock failed, version ' . $expectedLockVersion . ' was expected, but is actually ' . $actualLockVersion, $entity); |
|
62 | + return new self('The optimistic lock failed, version '.$expectedLockVersion.' was expected, but is actually '.$actualLockVersion, $entity); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
@@ -69,6 +69,6 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public static function notVersioned($entityName) |
71 | 71 | { |
72 | - return new self('Cannot obtain optimistic lock on unversioned entity ' . $entityName, null); |
|
72 | + return new self('Cannot obtain optimistic lock on unversioned entity '.$entityName, null); |
|
73 | 73 | } |
74 | 74 | } |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | */ |
162 | 162 | public function newDefaultAnnotationDriver(array $paths = []) : AnnotationDriver |
163 | 163 | { |
164 | - AnnotationRegistry::registerFile(__DIR__ . '/Annotation/DoctrineAnnotations.php'); |
|
164 | + AnnotationRegistry::registerFile(__DIR__.'/Annotation/DoctrineAnnotations.php'); |
|
165 | 165 | |
166 | 166 | $reader = new CachedReader(new AnnotationReader(), new ArrayCache()); |
167 | 167 | |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | { |
236 | 236 | $queryCacheImpl = $this->getQueryCacheImpl(); |
237 | 237 | |
238 | - if (! $queryCacheImpl) { |
|
238 | + if ( ! $queryCacheImpl) { |
|
239 | 239 | throw QueryCacheNotConfigured::create(); |
240 | 240 | } |
241 | 241 | |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | |
246 | 246 | $metadataCacheImpl = $this->getMetadataCacheImpl(); |
247 | 247 | |
248 | - if (! $metadataCacheImpl) { |
|
248 | + if ( ! $metadataCacheImpl) { |
|
249 | 249 | throw MetadataCacheNotConfigured::create(); |
250 | 250 | } |
251 | 251 | |
@@ -453,7 +453,7 @@ discard block |
||
453 | 453 | { |
454 | 454 | $reflectionClass = new ReflectionClass($repositoryClassName); |
455 | 455 | |
456 | - if (! $reflectionClass->implementsInterface(ObjectRepository::class)) { |
|
456 | + if ( ! $reflectionClass->implementsInterface(ObjectRepository::class)) { |
|
457 | 457 | throw InvalidEntityRepository::fromClassName($repositoryClassName); |
458 | 458 | } |
459 | 459 |
@@ -182,14 +182,14 @@ discard block |
||
182 | 182 | : new DefaultRegion($regionName, $cacheAdapter, $lifetime); |
183 | 183 | |
184 | 184 | if ($cache->getUsage() === CacheUsage::READ_WRITE) { |
185 | - if (! $this->fileLockRegionDirectory) { |
|
185 | + if ( ! $this->fileLockRegionDirectory) { |
|
186 | 186 | throw new LogicException( |
187 | - 'If you want to use a "READ_WRITE" cache an implementation of "Doctrine\ORM\Cache\ConcurrentRegion" is required, ' . |
|
187 | + 'If you want to use a "READ_WRITE" cache an implementation of "Doctrine\ORM\Cache\ConcurrentRegion" is required, '. |
|
188 | 188 | 'The default implementation provided by doctrine is "Doctrine\ORM\Cache\Region\FileLockRegion" if you want to use it please provide a valid directory, DefaultCacheFactory#setFileLockRegionDirectory(). ' |
189 | 189 | ); |
190 | 190 | } |
191 | 191 | |
192 | - $directory = $this->fileLockRegionDirectory . DIRECTORY_SEPARATOR . $regionName; |
|
192 | + $directory = $this->fileLockRegionDirectory.DIRECTORY_SEPARATOR.$regionName; |
|
193 | 193 | $region = new FileLockRegion($region, $directory, $this->regionsConfig->getLockLifetime($regionName)); |
194 | 194 | } |
195 | 195 | |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | { |
206 | 206 | $cacheAdapter = clone $this->cache; |
207 | 207 | |
208 | - if (! $cacheAdapter instanceof CacheProvider) { |
|
208 | + if ( ! $cacheAdapter instanceof CacheProvider) { |
|
209 | 209 | return $cacheAdapter; |
210 | 210 | } |
211 | 211 | |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | $namespace .= ':'; |
216 | 216 | } |
217 | 217 | |
218 | - $cacheAdapter->setNamespace($namespace . $name); |
|
218 | + $cacheAdapter->setNamespace($namespace.$name); |
|
219 | 219 | |
220 | 220 | return $cacheAdapter; |
221 | 221 | } |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | */ |
102 | 102 | protected function getCacheEntryKey(CacheKey $key) |
103 | 103 | { |
104 | - return $this->name . self::REGION_KEY_SEPARATOR . $key->hash; |
|
104 | + return $this->name.self::REGION_KEY_SEPARATOR.$key->hash; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | */ |
126 | 126 | public function evictAll() |
127 | 127 | { |
128 | - if (! $this->cache instanceof ClearableCache) { |
|
128 | + if ( ! $this->cache instanceof ClearableCache) { |
|
129 | 129 | throw new BadMethodCallException(sprintf( |
130 | 130 | 'Clearing all cache entries is not supported by the supplied cache adapter of type %s', |
131 | 131 | get_class($this->cache) |
@@ -62,17 +62,17 @@ discard block |
||
62 | 62 | */ |
63 | 63 | public function get(QueryCacheKey $key, ResultSetMapping $rsm, array $hints = []) |
64 | 64 | { |
65 | - if (! ($key->cacheMode & Cache::MODE_GET)) { |
|
65 | + if ( ! ($key->cacheMode & Cache::MODE_GET)) { |
|
66 | 66 | return null; |
67 | 67 | } |
68 | 68 | |
69 | 69 | $cacheEntry = $this->region->get($key); |
70 | 70 | |
71 | - if (! $cacheEntry instanceof QueryCacheEntry) { |
|
71 | + if ( ! $cacheEntry instanceof QueryCacheEntry) { |
|
72 | 72 | return null; |
73 | 73 | } |
74 | 74 | |
75 | - if (! $this->validator->isValid($key, $cacheEntry)) { |
|
75 | + if ( ! $this->validator->isValid($key, $cacheEntry)) { |
|
76 | 76 | $this->region->evict($key); |
77 | 77 | |
78 | 78 | return null; |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | |
89 | 89 | $cm = $this->em->getClassMetadata($entityName); |
90 | 90 | |
91 | - $generateKeys = static function (array $entry) use ($cm) : EntityCacheKey { |
|
91 | + $generateKeys = static function(array $entry) use ($cm) : EntityCacheKey { |
|
92 | 92 | return new EntityCacheKey($cm->getRootClassName(), $entry['identifier']); |
93 | 93 | }; |
94 | 94 | |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | $this->cacheLogger->entityCacheHit($regionName, $cacheKeys->identifiers[$index]); |
112 | 112 | } |
113 | 113 | |
114 | - if (! $hasRelation) { |
|
114 | + if ( ! $hasRelation) { |
|
115 | 115 | $result[$index] = $unitOfWork->createEntity( |
116 | 116 | $entityEntry->class, |
117 | 117 | $entityEntry->resolveAssociationEntries($this->em), |
@@ -156,11 +156,11 @@ discard block |
||
156 | 156 | continue; |
157 | 157 | } |
158 | 158 | |
159 | - if (! isset($assoc['list']) || empty($assoc['list'])) { |
|
159 | + if ( ! isset($assoc['list']) || empty($assoc['list'])) { |
|
160 | 160 | continue; |
161 | 161 | } |
162 | 162 | |
163 | - $generateKeys = static function ($id) use ($assocMetadata) : EntityCacheKey { |
|
163 | + $generateKeys = static function($id) use ($assocMetadata) : EntityCacheKey { |
|
164 | 164 | return new EntityCacheKey($assocMetadata->getRootClassName(), $id); |
165 | 165 | }; |
166 | 166 | |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | throw FeatureNotImplemented::multipleRootEntities(); |
240 | 240 | } |
241 | 241 | |
242 | - if (! $rsm->isSelect) { |
|
242 | + if ( ! $rsm->isSelect) { |
|
243 | 243 | throw FeatureNotImplemented::nonSelectStatements(); |
244 | 244 | } |
245 | 245 | |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | throw FeatureNotImplemented::partialEntities(); |
248 | 248 | } |
249 | 249 | |
250 | - if (! ($key->cacheMode & Cache::MODE_PUT)) { |
|
250 | + if ( ! ($key->cacheMode & Cache::MODE_PUT)) { |
|
251 | 251 | return false; |
252 | 252 | } |
253 | 253 | |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | $unitOfWork = $this->em->getUnitOfWork(); |
258 | 258 | $persister = $unitOfWork->getEntityPersister($entityName); |
259 | 259 | |
260 | - if (! ($persister instanceof CachedPersister)) { |
|
260 | + if ( ! ($persister instanceof CachedPersister)) { |
|
261 | 261 | throw NonCacheableEntity::fromEntity($entityName); |
262 | 262 | } |
263 | 263 | |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | |
270 | 270 | if (($key->cacheMode & Cache::MODE_REFRESH) || ! $region->contains($entityKey)) { |
271 | 271 | // Cancel put result if entity put fail |
272 | - if (! $persister->storeEntityCache($entity, $entityKey)) { |
|
272 | + if ( ! $persister->storeEntityCache($entity, $entityKey)) { |
|
273 | 273 | return false; |
274 | 274 | } |
275 | 275 | } |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | } |
304 | 304 | |
305 | 305 | // store single nested association |
306 | - if (! is_array($assocValue)) { |
|
306 | + if ( ! is_array($assocValue)) { |
|
307 | 307 | // Cancel put result if association put fail |
308 | 308 | if ($this->storeAssociationCache($key, $association, $assocValue) === null) { |
309 | 309 | return false; |
@@ -342,9 +342,9 @@ discard block |
||
342 | 342 | $assocIdentifier = $unitOfWork->getEntityIdentifier($assocValue); |
343 | 343 | $entityKey = new EntityCacheKey($assocMetadata->getRootClassName(), $assocIdentifier); |
344 | 344 | |
345 | - if ((! $assocValue instanceof GhostObjectInterface && ($key->cacheMode & Cache::MODE_REFRESH)) || ! $assocRegion->contains($entityKey)) { |
|
345 | + if (( ! $assocValue instanceof GhostObjectInterface && ($key->cacheMode & Cache::MODE_REFRESH)) || ! $assocRegion->contains($entityKey)) { |
|
346 | 346 | // Entity put fail |
347 | - if (! $assocPersister->storeEntityCache($assocValue, $entityKey)) { |
|
347 | + if ( ! $assocPersister->storeEntityCache($assocValue, $entityKey)) { |
|
348 | 348 | return null; |
349 | 349 | } |
350 | 350 | } |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | |
365 | 365 | if (($key->cacheMode & Cache::MODE_REFRESH) || ! $assocRegion->contains($entityKey)) { |
366 | 366 | // Entity put fail |
367 | - if (! $assocPersister->storeEntityCache($assocItem, $entityKey)) { |
|
367 | + if ( ! $assocPersister->storeEntityCache($assocItem, $entityKey)) { |
|
368 | 368 | return null; |
369 | 369 | } |
370 | 370 | } |
@@ -57,8 +57,8 @@ |
||
57 | 57 | */ |
58 | 58 | public function resolveAssociationEntries(EntityManagerInterface $em) |
59 | 59 | { |
60 | - return array_map(static function ($value) use ($em) { |
|
61 | - if (! ($value instanceof AssociationCacheEntry)) { |
|
60 | + return array_map(static function($value) use ($em) { |
|
61 | + if ( ! ($value instanceof AssociationCacheEntry)) { |
|
62 | 62 | return $value; |
63 | 63 | } |
64 | 64 |