Transphpile\Transpile\NodeStateStack::get PHP Method

get() public method

public get ( $name ) : mixed
$name
return mixed
    public function get($name)
    {
        if (count($this->vars) == 0) {
            return null;
        }
        return $this->vars[count($this->vars) - 1][$name];
    }