The AbstractRouter class is the blueprint for the MVC's main router.
The AbstractRouter class is the one that needs to be extended
in order to create a LightMVC router.
Methods
Initializes this class by assigning the objects contained in the
referenced application object to the corresponding properties.
__construct(\Ascmvc\Mvc\AscmvcEvent $event) : void
abstract
Get the current request URI
getRequestURI() : array|null
abstract
Properties
Contains a reference to the Singleton instance of the AbstractApp class.
app : \Ascmvc\AbstractApp|null
Type(s)
\Ascmvc\AbstractApp|null
Array contains all of the app's basic configurations.
baseConfig : array|null
Contains an associative array of all of the URI's elements.
requestURI : array|null
Contains an instance of the MVC's AbstractControllerManager.
controllerManager : \Ascmvc\AbstractControllerManager