extends abstract class Phalcon\Di\Injectable
implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface
Base class for Phalcon\Cli\Console and Phalcon\Mvc\Application.
Sets the events manager
Returns the internal event manager
Register an array of modules present in the application
$this->registerModules( [ "frontend" => [ "className" => "Multiple\\Frontend\\Module", "path" => "../apps/frontend/Module.php", ], "backend" => [ "className" => "Multiple\\Backend\\Module", "path" => "../apps/backend/Module.php", ], ] );
Return the modules registered in the application
Gets the module definition registered in the application via module name
Sets the module name to be used if the router doesn’t return a valid module
Returns the default module name
Handles a request
Sets the dependency injector
Returns the internal dependency injector
Magic method __get
© 2011–2017 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Application.html