PHP Class Bluz\Tests\BootstrapTest

Author: Anton Shevchuk
Inheritance: extends Bluz\Application\Application
Mostra file Open project: bluzphp/framework Class Usage Examples

Protected Properties

Property Type Description
$dispatchController string Dispatched controller name
$dispatchModule string Dispatched module name
$exception Exception

Public Methods

Method Description
dispatch ( string $module, string $controller, array $params = [] ) : Controller
getController ( ) : string Get dispatched controller name
getException ( ) : Exception getException
getModule ( ) : string Get dispatched module name
resetRouter ( ) : void resetRouter
setException ( Exception $exception ) : void setException

Method Details

dispatch() public method

public dispatch ( string $module, string $controller, array $params = [] ) : Controller
$module string
$controller string
$params array
return Bluz\Controller\Controller

getController() public method

Get dispatched controller name
public getController ( ) : string
return string

getException() public method

getException
public getException ( ) : Exception
return Exception

getModule() public method

Get dispatched module name
public getModule ( ) : string
return string

resetRouter() public method

resetRouter
public resetRouter ( ) : void
return void

setException() public method

setException
public setException ( Exception $exception ) : void
$exception Exception
return void

Property Details

$dispatchController protected_oe property

Dispatched controller name
protected string $dispatchController
return string

$dispatchModule protected_oe property

Dispatched module name
protected string $dispatchModule
return string

$exception protected_oe property

protected Exception $exception
return Exception