Skip to content

Commit

Permalink
Fixed doctrine cache II
Browse files Browse the repository at this point in the history
  • Loading branch information
tg666 committed Jan 6, 2023
1 parent a7b141f commit 4798902
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(Doctrine\Common\Annotations\Reader $reader)
public function findSluggableDefinitions(Doctrine\ORM\EntityManagerInterface $em, string $entityClassName): array
{
$metadata = $em->getClassMetadata($entityClassName);
$name = $metadata->getName() . '_sluggable_field';
$name = str_replace('\\', '_', $metadata->getName() . '_sluggable_field');

if (isset($this->definitionStorage[$name])) {
return $this->definitionStorage[$name];
Expand Down

0 comments on commit 4798902

Please sign in to comment.