processor = $processor; } /** * @param array $options */ public function afterSave(Entity $entity, array $options): void { if (!empty($options['silent']) || !empty($options['noNotifications'])) { return; } $this->processor->afterSave($entity, $options); } /** * @param array $options */ public function beforeRemove(Entity $entity, array $options): void { if (!empty($options['silent']) || !empty($options['noNotifications'])) { return; } $this->processor->beforeRemove($entity, $options); } /** * @param array $options */ public function afterRemove(Entity $entity, array $options): void { if (!empty($options['silent'])) { return; } $this->processor->afterRemove($entity); } }