/** * Sets the status cache * * The cache must be set before initializing the Reflection Service * * @param StringFrontend $cache Cache for the reflection service * @return void */ public function setStatusCache(StringFrontend $cache) { $this->statusCache = $cache; $backend = $this->statusCache->getBackend(); if (is_callable(['initializeObject', $backend])) { $backend->initializeObject(); } }