PHP Class Phalcon\Error\Application

Inheritance: extends Phalcon\Mvc\Application
Show file Open project: phalcon/incubator

Public Methods

Method Description
__construct ( Phalcon\DiInterface $dependencyInjector = null ) : Application Class constructor registers autoloading and error handler.
main ( ) : Phalcon\Http\Response Registers the services and dispatches the application.

Private Methods

Method Description
registerAutoloaders ( ) : void Registers autoloading.
registerServices ( ) : void Registers the services in di container.

Method Details

__construct() public method

Class constructor registers autoloading and error handler.
public __construct ( Phalcon\DiInterface $dependencyInjector = null ) : Application
$dependencyInjector Phalcon\DiInterface
return Application

main() public method

Registers the services and dispatches the application.
public main ( ) : Phalcon\Http\Response
return Phalcon\Http\Response