The ControllerManager class extends the AbstractControllerManager and
acts as the MVC's dispatcher object.
Methods
Initializes this class by assigning the objects contained in the
referenced application object to the corresponding properties.
__construct(\Ascmvc\AbstractApp &$app, string $controllerName, array $vars = array()) : void
inherited abstract
Method that calls the MVC's appropriate request handler.
execute() : void
inherited abstract
Properties
Contains a reference to the Singleton instance of the AbstractApp class.
app : \Ascmvc\AbstractApp|null
inherited
Contains an associative array of all of the URI's elements.
currentRequestURI : array|null
inherited
Contains the name of the AbstractController instance.
controllerName : string
inherited
Contains the name of the AbstractController's method.
controllerMethodName : string
inherited
Contains a reflection of the AbstractController instance.
controllerReflection : \ReflectionClass
inherited
Contains the controller's filename.
controllerFileName : string
inherited
Contains a reference to a AbstractController instance.
controller : \Ascmvc\AbstractController|null
inherited
Contains a string that is the name of the controller's method that can handle the dispatch.
method : string|null
inherited
Array containing the values of the request (SERVER, REQUEST, GET, POST, PUT, PATCH, DELETE).
vars : array|null
inherited