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);
    }