protected function fetchData( $identifier, $object = false )
    {
        $data = $this->backend->fetch( $identifier );
        if ( is_object( $data ) && $object === false )
        {
            return $data->data;
        }
        if ( is_object( $data ) && $object !== false )
        {
            return $data;
        }
        else
        {
            return false;
        }
    }
protected function fetchData( $identifier, $object = false )
    {
        $data = $this->backend->fetch( $identifier );
        if ( is_object( $data ) && $object === false )
        {
            return $data->data;
        }
        if ( is_object( $data ) && $object !== false )
        {
            return $data;
        }
        else
        {
            return false;
        }
    }
protected function fetchData ( $ identifier , $ object = false ) { $ data = $ this -> backend -> fetch ( $ identifier ) ; if ( is_object ( $ data ) && $ object === false ) { return $ data -> data ; } if ( is_object ( $ data ) && $ object !== false ) { return $ data ; } else { return false ; } }
Fetches data from the cache.

@param string $identifier The file to fetch data from
@param bool $object return the object and not the clean data
@return mixed The fetched data or false on failure
Fetches data from the cache .