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