PHP Class HandlerManager, zys

Since: 2014/11/12
Author: chenwenbin
Show file Open project: qieangel2013/zys Class Usage Examples

Protected Properties

Property Type Description
$afterFilterHandler
$beforeFilterHandler
$invokeHandler

Public Methods

Method Description
__construct ( )
addAfterFilterHandler ( $handler )
addBeforeFilterHandler ( $handler )
addInvokeHandler ( $handler )
afterFilterHandler ( $request, stdClass $context ) *protected
beforeFilterHandler ( $request, stdClass $context ) *protected
invokeHandler ( $name, array &$args, stdClass $context ) *protected

Protected Methods

Method Description
getNextFilterHandler ( Closure $next, $handler )
getNextInvokeHandler ( Closure $next, $handler )

Method Details

__construct() public method

public __construct ( )

addAfterFilterHandler() public method

public addAfterFilterHandler ( $handler )

addBeforeFilterHandler() public method

public addBeforeFilterHandler ( $handler )

addInvokeHandler() public method

public addInvokeHandler ( $handler )

afterFilterHandler() abstract public method

*protected
abstract public afterFilterHandler ( $request, stdClass $context )
$context stdClass

beforeFilterHandler() abstract public method

*protected
abstract public beforeFilterHandler ( $request, stdClass $context )
$context stdClass

getNextFilterHandler() protected method

protected getNextFilterHandler ( Closure $next, $handler )
$next Closure

getNextInvokeHandler() protected method

protected getNextInvokeHandler ( Closure $next, $handler )
$next Closure

invokeHandler() abstract public method

*protected
abstract public invokeHandler ( $name, array &$args, stdClass $context )
$args array
$context stdClass

Property Details

$afterFilterHandler protected property

protected $afterFilterHandler

$beforeFilterHandler protected property

protected $beforeFilterHandler

$invokeHandler protected property

protected $invokeHandler