PHP Class ManaPHP\Application

Inheritance: extends Component, implements manaphp\ApplicationInterface
Show file Open project: manaphp/manaphp Class Usage Examples

Protected Properties

Property Type Description
$_modules array

Public Methods

Method Description
__construct ( Loader $loader, ManaPHP\DiInterface $dependencyInjector = null ) Application constructor.
abort ( integer $code, string $message )
getModules ( ) : array

Method Details

__construct() public method

Application constructor.
public __construct ( Loader $loader, ManaPHP\DiInterface $dependencyInjector = null )
$loader Loader
$dependencyInjector ManaPHP\DiInterface

abort() public method

public abort ( integer $code, string $message )
$code integer
$message string

getModules() public method

public getModules ( ) : array
return array

Property Details

$_modules protected property

protected array $_modules
return array