Kraken\Channel\Router\RouterRule::__construct PHP Метод

__construct() публичный Метод

public __construct ( RouterInterface $router, callable $matcher, callable $handler, boolean $propagate = false, integer $limit )
$router RouterInterface
$matcher callable
$handler callable
$propagate boolean
$limit integer
    public function __construct(RouterInterface $router, callable $matcher, callable $handler, $propagate = false, $limit = 0)
    {
        $this->router = $router;
        $this->matcher = $matcher;
        $this->handler = $handler;
        $this->propagate = $propagate;
        $this->limit = $limit;
        $this->pointer = null;
        $this->cancelled = false;
    }