src/Route/Route.php
public function setConditions(array $conditions = [])
    {
        $this->conditions = $conditions;

        $this->condition = $this->parseCondition($this->uri());
        $this->conditionParams = $this->parseConditionParams($this->getAction());

        return $this;
    }
public function setConditions(array $conditions = [])
    {
        $this->conditions = $conditions;

        $this->condition = $this->parseCondition($this->uri());
        $this->conditionParams = $this->parseConditionParams($this->getAction());

        return $this;
    }
public function setConditions ( array $ conditions = [ ] ) { $ this -> conditions = $ conditions ; $ this -> condition = $ this -> parseCondition ( $ this -> uri ( ) ) ; $ this -> conditionParams = $ this -> parseConditionParams ( $ this -> getAction ( ) ) ; return $ this ; }
Set route WordPress conditions rules.

@param array $conditions

@return \Themosis\Route\Route
Set route WordPress conditions rules .