private function getVariable($variable)
    {
        if (array_key_exists($variable, $this->parser->lines)) {
            return $this->parser->lines[$variable];
        }

        if (array_key_exists($variable, $this->context)) {
            return $this->context[$variable];
        }

        return null;
    }
private function getVariable($variable)
    {
        if (array_key_exists($variable, $this->parser->lines)) {
            return $this->parser->lines[$variable];
        }

        if (array_key_exists($variable, $this->context)) {
            return $this->context[$variable];
        }

        return null;
    }
private function getVariable ( $ variable ) { if ( array_key_exists ( $ variable , $ this -> parser -> lines ) ) { return $ this -> parser -> lines [ $ variable ] ; } if ( array_key_exists ( $ variable , $ this -> context ) ) { return $ this -> context [ $ variable ] ; } return null ; }
Get variable value

@param string $variable

@return mixed
Get variable value