Neos\Flow\Mvc\Routing\RouterCachingService::initializeObject PHP Method

initializeObject() public method

public initializeObject ( ) : void
return void
    public function initializeObject()
    {
        // flush routing caches if in Development context & routing settings changed
        if ($this->objectManager->getContext()->isDevelopment() && $this->routeCache->get('routingSettings') !== $this->routingSettings) {
            $this->flushCaches();
            $this->routeCache->set('routingSettings', $this->routingSettings);
        }
    }