src/bbn/user.php
private function _get_session($attr){
    //die(\bbn\x::hdump(self::$sn, $this->session->has(self::$sn), $attr, $this->session->get(self::$sn)));
    if ( $this->session->has(self::$sn) ){
      return $attr ?
        $this->session->get(self::$sn, $attr) :
        $this->session->get(self::$sn);
    }
  }
private function _get_session($attr){
    //die(\bbn\x::hdump(self::$sn, $this->session->has(self::$sn), $attr, $this->session->get(self::$sn)));
    if ( $this->session->has(self::$sn) ){
      return $attr ?
        $this->session->get(self::$sn, $attr) :
        $this->session->get(self::$sn);
    }
  }
private function _get_session ( $ attr ) { //die(\bbn\x::hdump(self::$sn, $this->session->has(self::$sn), $attr, $this->session->get(self::$sn))); if ( $ this -> session -> has ( self :: $ sn ) ) { return $ attr ? $ this -> session -> get ( self :: $ sn , $ attr ) : $ this -> session -> get ( self :: $ sn ) ; } }
Gets the "session" part of the session
@param string $attr
@return mixed
Gets the session part of the session