private function getCachedKeys()
    {
        $key = 'courier_cached_requests';

        if ($this->cache->isExisting($key))
        {
            return $this->cache->get($key);
        }

        $newIndex = [];
        $this->cache->set($key, $newIndex);

        return $newIndex;
    }
private function getCachedKeys()
    {
        $key = 'courier_cached_requests';

        if ($this->cache->isExisting($key))
        {
            return $this->cache->get($key);
        }

        $newIndex = [];
        $this->cache->set($key, $newIndex);

        return $newIndex;
    }
private function getCachedKeys ( ) { $ key = 'courier_cached_requests' ; if ( $ this -> cache -> isExisting ( $ key ) ) { return $ this -> cache -> get ( $ key ) ; } $ newIndex = [ ] ; $ this -> cache -> set ( $ key , $ newIndex ) ; return $ newIndex ; }
Get the index from the cache and store a new one if it does not yet exist

@return array
Get the index from the cache and store a new one if it does not yet exist