maxReplacementDepth = $maxReplacementDepth; return $this; } /** * Get cache * * @return CacheInterface */ public function getCache() { if (null === $this->cache) { $this->cache = new Cache; } return $this->cache; } /** * Set cache * * @param CacheInterface $cache */ public function setCache(CacheInterface $cache) { $this->cache = $cache; } }