$route->name()
Returns the route name if set
$route->name(): string|null
Return types
string
ornull
This method modifies the existing $route
object it is applied to and returns it again.
Returns the route name if set
$route->name(): string|null
string
ornull
This method modifies the existing $route
object it is applied to and returns it again.