Phan\Language\Scope\GlobalScope::withVariable PHP 메소드

withVariable() 공개 메소드

public withVariable ( Variable $variable ) : Scope
$variable Phan\Language\Element\Variable A variable to add to the local scope
리턴 Phan\Language\Scope
    public function withVariable(Variable $variable) : Scope
    {
        $this->addVariable($variable);
        return $this;
    }