The FastRouter class extends the AbstractRouter class and uses the nikic/fast-route library.
Methods
Initializes this class by assigning the objects contained in the
referenced application object to the corresponding properties.
__construct(\Ascmvc\Mvc\AscmvcEvent $event) : void
inherited abstract
Get the current request URI
getRequestURI() : array|null
inherited abstract
This method tries to find a handler that corresponds to the requested route.
resolve()
Properties
Contains a reference to the Singleton instance of the AbstractApp class.
app : \Ascmvc\AbstractApp|null
inherited
Type(s)
\Ascmvc\AbstractApp|null
Array contains all of the app's basic configurations.
baseConfig : array|null
inherited
Contains an associative array of all of the URI's elements.
requestURI : array|null
inherited
Contains an instance of the MVC's AbstractControllerManager.
controllerManager : \Ascmvc\AbstractControllerManager
inherited