public function get($key, $default = null)
    {
        $this->start();
        
        $value = isset($_SESSION[$key]) ? $_SESSION[$key] : '';
        
        \Wslim\Ioc::logger('session')->debug(sprintf('[%s]get %s:%s', static::getId(), $key, print_r($value, true)));
        
        return $value;
    }
public function get($key, $default = null)
    {
        $this->start();
        
        $value = isset($_SESSION[$key]) ? $_SESSION[$key] : '';
        
        \Wslim\Ioc::logger('session')->debug(sprintf('[%s]get %s:%s', static::getId(), $key, print_r($value, true)));
        
        return $value;
    }
public function get ( $ key , $ default = null ) { $ this -> start ( ) ; $ value = isset ( $ _SESSION [ $ key ] ) ? $ _SESSION [ $ key ] : '' ; \ Wslim \ Ioc :: logger ( 'session' ) -> debug ( sprintf ( '[%s]get %s:%s' , static :: getId ( ) , $ key , print_r ( $ value , true ) ) ) ; return $ value ; }
Read session information for the given name

@param string $name The name of the item to read
@return mixed The value stored in $name of the session, or an empty string.
Read session information for the given name