eulaText || $this->useDefaultEula; } public function getEmailMessageProperty(): string { if ($this->useDefaultEula) { return trans('admin/categories/general.email_will_be_sent_due_to_global_eula'); } return trans('admin/categories/general.email_will_be_sent_due_to_category_eula'); } }