phplinter\Lint\LFile::pdefine PHP Метод

pdefine() защищенный Метод

----------------------------------------------------------------------+
protected pdefine ( $i ) : integer
Результат integer stop ----------------------------------------------------------------------+
    protected function pdefine($i)
    {
        $et = $this->node->tokens;
        $p = $this->find($i, T_CONSTANT_ENCAPSED_STRING);
        if ($p) {
            $const = $et[$p][1];
            $p = $this->find($p, T_COMMA);
            if ($p) {
                $i = $this->next($p);
                $this->node->constants[$const] = $et[$p][1];
            }
        }
        return $i;
    }