PHP Class Kraken\Channel\Router\RuleHandle\RuleHandler

Show file Open project: kraken-php/framework

Protected Properties

Property Type Description
$callback callable

Public Methods

Method Description
__construct ( callable $callback )
__destruct ( )
__invoke ( string $alias, Kraken\Channel\Protocol\ProtocolInterface $protocol, integer $flags, callable $success = null, callable $failure = null, callable $cancel = null, float $timeout )

Method Details

__construct() public method

public __construct ( callable $callback )
$callback callable

__destruct() public method

public __destruct ( )

__invoke() public method

public __invoke ( string $alias, Kraken\Channel\Protocol\ProtocolInterface $protocol, integer $flags, callable $success = null, callable $failure = null, callable $cancel = null, float $timeout )
$alias string
$protocol Kraken\Channel\Protocol\ProtocolInterface
$flags integer
$success callable
$failure callable
$cancel callable
$timeout float

Property Details

$callback protected property

protected callable $callback
return callable