interface DispatcherInterface

调度器

Methods

dispatch()

执行调度

forward(array $forward)

无需 redirect 跳转,而直接调用对应的 Handler->Action

setNamespaceName(string $namespaceName)

No description

string
getNamespaceName()

No description

setHandlerName(string $handlerName)

No description

string
getHandlerName()

No description

setActionName(string $actionName)

No description

string
getActionName()

No description

setParams(array $params)

No description

array
getParams()

No description

Details

at line 15
dispatch()

执行调度

at line 27
forward(array $forward)

无需 redirect 跳转,而直接调用对应的 Handler->Action

Parameters

array $forward { @var string namespace @var string handler @var string action @var array params }

at line 29
setNamespaceName(string $namespaceName)

Parameters

string $namespaceName

at line 31
string getNamespaceName()

Return Value

string

at line 33
setHandlerName(string $handlerName)

Parameters

string $handlerName

at line 35
string getHandlerName()

Return Value

string

at line 37
setActionName(string $actionName)

Parameters

string $actionName

at line 39
string getActionName()

Return Value

string

at line 41
setParams(array $params)

Parameters

array $params

at line 43
array getParams()

Return Value

array