PathRootsSubscriber
class PathRootsSubscriber implements EventSubscriberInterface (View source)
Provides all available first bits of all route paths.
Properties
| protected array | $pathRoots | Stores the path roots available in the router. |
|
| protected StateInterface | $state | The state key value store. |
Methods
Details
__construct(StateInterface $state)
Constructs a new PathRootsSubscriber instance.
onRouteAlter(RouteBuildEvent $event)
Collects all path roots.
onRouteFinished()
{@inheritdoc}
static array
getSubscribedEvents()
{@inheritdoc}