Controller_Validator_Abstract::pullRule PHP Метод

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

Pulls next rule out of the rule stack (current_ruleset) May allow alias ($name).
public pullRule ( $alias = false )
    public function pullRule($alias = false)
    {
        $v = array_shift($this->current_ruleset);
        if ($alias && $v[0] == '$') {
            $v = $this->get(substr($v, 1));
        }
        return $this->consumed[] = $v;
    }