public function getSessionItem($key)
    {
        return isset($this->session[$key]) ? $this->session[$key] : null;
    }
public function getSessionItem($key)
    {
        return isset($this->session[$key]) ? $this->session[$key] : null;
    }
public function getSessionItem ( $ key ) { return isset ( $ this -> session [ $ key ] ) ? $ this -> session [ $ key ] : null ; }
Get a single session by index from the session array.
@param mixed $key.
Get a single session by index from the session array .