src/SubResolver.php
protected function getCachedData()
    {
        if ($this->cache === null)
            return null;

        $sp = $this->cache->get('resolve', $this->name, 'search_path');
        if ($sp !== null)
            $sp = $sp->toArray();

        if ($this->search_path !== $sp)
            $this->clearCache();

        return $this->cache->get('resolve', $this->name);
    }
protected function getCachedData()
    {
        if ($this->cache === null)
            return null;

        $sp = $this->cache->get('resolve', $this->name, 'search_path');
        if ($sp !== null)
            $sp = $sp->toArray();

        if ($this->search_path !== $sp)
            $this->clearCache();

        return $this->cache->get('resolve', $this->name);
    }
Obtain the cached data. The cache is cleared when the sort order does not match
the cache.

@return The cached data