PHP Class Tebru\Retrofit\Generation\HandlerStack

Author: Nate Brunette ([email protected])
Mostra file Open project: tebru/retrofit-php Class Usage Examples

Public Methods

Method Description
__construct ( HandlerContext $context ) Constructor
execute ( ) Loop through all handlers, providing the context
push ( Tebru\Retrofit\Generation\Handler $handler ) Add a handler to the stack

Method Details

__construct() public method

Constructor
public __construct ( HandlerContext $context )
$context HandlerContext

execute() public method

Loop through all handlers, providing the context
public execute ( )

push() public method

Add a handler to the stack
public push ( Tebru\Retrofit\Generation\Handler $handler )
$handler Tebru\Retrofit\Generation\Handler