Skip to content

Commit 3e12134

Browse files
authored
Merge pull request #479 from dbojdo/fix/issue-478
Fix #478: Override getRouteKey on the Route Entity (ORM) to return th…
2 parents 793a8e4 + 1341d71 commit 3e12134

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Doctrine/Orm/Route.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,12 @@ public function getPosition(): int
5757
{
5858
return $this->position;
5959
}
60+
61+
/**
62+
* {@inheritdoc}
63+
*/
64+
public function getRouteKey(): string
65+
{
66+
return $this->getName();
67+
}
6068
}

0 commit comments

Comments
 (0)