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

        if (null !== $this->cache) {
            return $this->cache->save($this->getCacheId($basedir), serialize($this->raw_parameters), null, null, true);
        }

        return false;
    }