public function get($key, $default = null)
    {
        $data = DotArray::get($this->getStorage(), $key);

        return $data === null ? $default : $data;
    }
public function get($key, $default = null)
    {
        $data = DotArray::get($this->getStorage(), $key);

        return $data === null ? $default : $data;
    }
public function get ( $ key , $ default = null ) { $ data = DotArray :: get ( $ this -> getStorage ( ) , $ key ) ; return $ data === null ? $ default : $ data ; }
Get the session by the given key.
Default on null
@param string $key
@param mixed|null $default
@return mixed
Get the session by the given key . Default on null