PHP Class Bluz\Tests\BootstrapTest

Author: Anton Shevchuk
Inheritance: extends Bluz\Application\Application
Afficher le fichier Open project: bluzphp/framework Class Usage Examples

Protected Properties

Свойство Type Description
$dispatchController string Dispatched controller name
$dispatchModule string Dispatched module name
$exception Exception

Méthodes publiques

Méthode 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 méthode

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

getController() public méthode

Get dispatched controller name
public getController ( ) : string
Résultat string

getException() public méthode

getException
public getException ( ) : Exception
Résultat Exception

getModule() public méthode

Get dispatched module name
public getModule ( ) : string
Résultat string

resetRouter() public méthode

resetRouter
public resetRouter ( ) : void
Résultat void

setException() public méthode

setException
public setException ( Exception $exception ) : void
$exception Exception
Résultat void

Property Details

$dispatchController protected_oe property

Dispatched controller name
protected string $dispatchController
Résultat string

$dispatchModule protected_oe property

Dispatched module name
protected string $dispatchModule
Résultat string

$exception protected_oe property

protected Exception $exception
Résultat Exception