private function loadFromCache($basedir)
    {
        if (true === $this->debug) {
            return false;
        }

        if (null === $this->cache) {
            return false;
        }

        $cached_parameters = $this->cache->load($this->getCacheId($basedir), false, $this->getCacheExpire($basedir));
        if (false === $cached_parameters) {
            return false;
        }

        $parameters = @\unserialize($cached_parameters);
        if (!is_array($parameters)) {
            return false;
        }

        foreach ($parameters as $section => $data) {
            $this->setSection($section, $data, true);
        }

        return true;
    }