PHP Class Dietcube\Events\ExecuteActionEvent

Inheritance: extends DietcubeEventAbstract
Afficher le fichier Open project: mercari/dietcube

Protected Properties

Свойство Type Description
$executable
$result
$vars

Méthodes publiques

Méthode Description
__construct ( Application $app, $executable, array $vars )
getApplication ( ) : Application
getExecutable ( ) : callable
getResult ( ) : string
getVars ( ) : array
setExecutable ( callable $executable )
setExecutableByHandler ( string $handler ) Set executable by valid handler.
setResult ( string $result )
setVars ( array $vars )

Method Details

__construct() public méthode

public __construct ( Application $app, $executable, array $vars )
$app Dietcube\Application
$vars array

getApplication() public méthode

public getApplication ( ) : Application
Résultat Dietcube\Application

getExecutable() public méthode

public getExecutable ( ) : callable
Résultat callable executable

getResult() public méthode

public getResult ( ) : string
Résultat string

getVars() public méthode

public getVars ( ) : array
Résultat array

setExecutable() public méthode

public setExecutable ( callable $executable )
$executable callable

setExecutableByHandler() public méthode

This is a shortcut method to create controller by shorter name. e.g. User::login
public setExecutableByHandler ( string $handler )
$handler string

setResult() public méthode

public setResult ( string $result )
$result string

setVars() public méthode

public setVars ( array $vars )
$vars array

Property Details

$executable protected_oe property

protected $executable

$result protected_oe property

protected $result

$vars protected_oe property

protected $vars