LazyRouteCollection
class LazyRouteCollection extends RouteCollection (View source)
Properties
| protected RouteProviderInterface | $provider | The route provider for this generator. |
Methods
getIterator()
{@inheritdoc}
int
count()
Gets the number of Routes in this collection.
Route[]
all()
Returns all routes in this collection.
Route|null
get(string $name)
Gets a route by name.
Details
__construct(RouteProviderInterface $provider)
Constructs a LazyRouteCollection.
ArrayIterator
getIterator()
{@inheritdoc}
int
count()
Gets the number of Routes in this collection.
Route[]
all()
Returns all routes in this collection.
Route|null
get(string $name)
Gets a route by name.