Class StepCallback
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Located at Extensions/StepCallback.php
Methods summary
public
|
#
addVariable( string $key, mixed $variable )
Add a valiable to callback variables, passed to callback as parameter |
public
|
|
public
boolean
|
#
call( string $step, array & $params = null, string $method = null, array & $headers = null, $extra = [] )
Execute all callbacks set for this step
The value of |
public
|
Constants summary
string |
STEP_BEFORE_AUTHENTICATION_CHECK
Callback passes $step, $params, $method, $headers, $callbackVariables |
#
'STEP_BEFORE_AUTHENTICATION_CHECK'
|
string |
STEP_AFTER_AUTHENTICATION_CHECK
Callback passes $step, $params, $method, $headers, $callbackVariables |
#
'STEP_AFTER_AUTHENTICATION_CHECK'
|
string |
STEP_BEFORE_CALL_URISTRATEGY
Called before URIStrategy invocation Callback passes $step, $params, $method, $headers, $callbackVariables |
#
'STEP_BEFORE_CALL_URISTRATEGY'
|
string |
STEP_AFTER_CALL_URISTRATEGY
Called after URIStrategy invocation Callback passes $step, $params, $method, $headers, $callbackVariables, $invokedController, $invokedMethod |
#
'STEP_AFTER_CALL_URISTRATEGY'
|
string |
STEP_BEFORE_CLOSE
Callback passes $step, $params, $method, $headers, $callbackVariables |
#
'STEP_BEFORE_CLOSE'
|
string |
STEP_FINALLY
Callback passes $step, $params, $method, $headers, $callbackVariables |
#
'STEP_FINALLY'
|
string |
STEP_ERROR
Called after exception is thrown Callback passes $step, $params, $method, $headers, $callbackVariables, $errors, $code, $exception |
#
'STEP_ERROR'
|