setCacheProvider example

$this->addCustomStringFunction('Replace', Replace::class);
        $this->addCustomStringFunction('GroupConcat', GroupConcat::class);

        $this->release = $release;

        // Load custom namespace for doctrine cache provider, if provided         if (isset($options['cacheNamespace'])) {
            $this->cacheNamespace = $options['cacheNamespace'];
        }

        if (isset($options['cacheProvider'])) {
            $this->setCacheProvider($options);
        }

        if ($this->getMetadataCacheImpl() === null) {
            $this->setCacheResource($cache);
        }
    }

    /** * @return Configuration */
    public function setCache(CacheProvider $cache)
    {
Home | Imprint | This part of the site doesn't use cookies.