public function setStatusCache(StringFrontend $cache)
    {
        $this->statusCache = $cache;
        $backend = $this->statusCache->getBackend();
        if (is_callable(['initializeObject', $backend])) {
            $backend->initializeObject();
        }
    }
public function setStatusCache(StringFrontend $cache)
    {
        $this->statusCache = $cache;
        $backend = $this->statusCache->getBackend();
        if (is_callable(['initializeObject', $backend])) {
            $backend->initializeObject();
        }
    }
public function setStatusCache ( StringFrontend $ cache ) { $ this -> statusCache = $ cache ; $ backend = $ this -> statusCache -> getBackend ( ) ; if ( is_callable ( [ 'initializeObject' , $ backend ] ) ) { $ backend -> initializeObject ( ) ; } }
Sets the status cache

The cache must be set before initializing the Reflection Service

@param StringFrontend $cache Cache for the reflection service
@return void
Sets the status cache