Neos\Flow\Session\Session::initializeObject PHP Method

initializeObject() public method

public initializeObject ( ) : void
return void
    public function initializeObject()
    {
        if (!$this->metaDataCache->getBackend() instanceof IterableBackendInterface) {
            throw new InvalidBackendException(sprintf('The session meta data cache must provide a backend implementing the IterableBackendInterface, but the given backend "%s" does not implement it.', get_class($this->metaDataCache->getBackend())), 1370964557);
        }
        if (!$this->storageCache->getBackend() instanceof IterableBackendInterface) {
            throw new InvalidBackendException(sprintf('The session storage cache must provide a backend implementing the IterableBackendInterface, but the given backend "%s" does not implement it.', get_class($this->storageCache->getBackend())), 1370964558);
        }
    }