public function __construct(ManagerRegistry $doctrine, PageContentTypeInterface $contentTypeService, DomainConfigurationInterface $domainConfiguration, CurrentLocaleInterface $currentLocale) { parent::__construct($doctrine); $this->contentTypeService = $contentTypeService; $this->domainConfiguration = $domainConfiguration; $this->currentLocale = $currentLocale; }