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;
    }
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;
    }
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 ; }
Saves the parameters in cache system if defined.

@param string $basedir The base directory

@return boolean Returns TRUE if a valid cache has been saved, FALSE otherwise
Saves the parameters in cache system if defined .