PHP Class Kraken\Channel\Router\RuleMatch\RuleNegate

Show file Open project: kraken-php/framework

Protected Properties

Property Type Description
$rule callable

Public Methods

Method Description
__construct ( callable $rule )
__destruct ( )
__invoke ( string $name, Kraken\Channel\Protocol\ProtocolInterface $protocol ) : boolean

Method Details

__construct() public method

public __construct ( callable $rule )
$rule callable

__destruct() public method

public __destruct ( )

__invoke() public method

public __invoke ( string $name, Kraken\Channel\Protocol\ProtocolInterface $protocol ) : boolean
$name string
$protocol Kraken\Channel\Protocol\ProtocolInterface
return boolean

Property Details

$rule protected property

protected callable $rule
return callable