Get route key
This commit is contained in:
parent
ead46dc7b2
commit
f9e2b960d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue