PHP 클래스 Dietcube\Events\ExecuteActionEvent

상속: extends DietcubeEventAbstract
파일 보기 프로젝트 열기: mercari/dietcube

보호된 프로퍼티들

프로퍼티 타입 설명
$executable
$result
$vars

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

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

getApplication() 공개 메소드

public getApplication ( ) : Application
리턴 Dietcube\Application

getExecutable() 공개 메소드

public getExecutable ( ) : callable
리턴 callable executable

getResult() 공개 메소드

public getResult ( ) : string
리턴 string

getVars() 공개 메소드

public getVars ( ) : array
리턴 array

setExecutable() 공개 메소드

public setExecutable ( callable $executable )
$executable callable

setExecutableByHandler() 공개 메소드

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

setResult() 공개 메소드

public setResult ( string $result )
$result string

setVars() 공개 메소드

public setVars ( array $vars )
$vars array

프로퍼티 상세

$executable 보호되어 있는 프로퍼티

protected $executable

$result 보호되어 있는 프로퍼티

protected $result

$vars 보호되어 있는 프로퍼티

protected $vars