Get route key

This commit is contained in:
Jérémy Munsch 2021-04-06 16:35:59 +02:00
parent ead46dc7b2
commit f9e2b960d8

View file

@ -285,7 +285,7 @@ abstract class BaseEnum implements JsonSerializable, UrlRoutable
*/
public function getRouteKey()
{
throw new NotImplementedException('getRouteKey not implemented, should not be used');
return $this->value;
}
/**