Skip to content

Commit

Permalink
Merge pull request #479 from dbojdo/fix/issue-478
Browse files Browse the repository at this point in the history
Fix #478: Override getRouteKey on the Route Entity (ORM) to return th…
  • Loading branch information
dbu authored Apr 29, 2022
2 parents 793a8e4 + 1341d71 commit 3e12134
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Doctrine/Orm/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,12 @@ public function getPosition(): int
{
return $this->position;
}

/**
* {@inheritdoc}
*/
public function getRouteKey(): string
{
return $this->getName();
}
}

0 comments on commit 3e12134

Please sign in to comment.