public function get($key = null) {
        if ($key === null) return $this->vars;

        return isset($this->vars[$key]) ? $this->vars[$key] : null;
    }
public function get($key = null) {
        if ($key === null) return $this->vars;

        return isset($this->vars[$key]) ? $this->vars[$key] : null;
    }
public function get ( $ key = null ) { if ( $ key === null ) return $ this -> vars ; return isset ( $ this -> vars [ $ key ] ) ? $ this -> vars [ $ key ] : null ; }
Gets a variable.

@param string $key Key
@return mixed
Gets a variable .