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

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

----------------------------------------------------------------------+
protected pnamespace ( $i ) : integer
Результат integer stop ----------------------------------------------------------------------+
    protected function pnamespace($i)
    {
        $et = $this->node->tokens;
        $tc = $this->node->token_count;
        $ns = array();
        while (++$i < $tc && !in_array($et[$i][0], array(T_SEMICOLON, T_OPEN_SCOPE))) {
            $ns[] = $et[$i][1];
        }
        $this->node->namespace = implode('', $ns);
        return $i;
    }