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);
}
}