loadByHostingId($this->request->get('id')); if ($this->getWhmcsParamByKey('status') !== 'Active' || $productManager->get(ControllerEnums::DOMAIN_ALIAS_PAGE) !== ProductParams::SWITCHER_ENABLED) { return Helper\redirectByUrl(BuildUrlExtended::getProvisioningUrl('',false,false)); } return Helper\view() ->addElement(new Description('domainAlias')) ->addElement(DomainAliases::class) ; } }