original_string: protected function notify($message, array $params = [], $domain = null, $status = Notification::STATE_DONE)
      {
          $this->notificationPool->addNotification(
              new TranslatableNotificationMessage([
                  'message' => $message,
                  'translationParams' => $params,
                  'domain' => $domain,
              ]),
              $status
          );
      }
code: protected function notify($message, array $params = [], $domain = null, $status = Notification::STATE_DONE)
      {
          $this->notificationPool->addNotification(
              new TranslatableNotificationMessage([
                  'message' => $message,
                  'translationParams' => $params,
                  'domain' => $domain,
              ]),
              $status
          );
      }
code_tokens: protected function notify ( $ message , array $ params = [ ] , $ domain = null , $ status = Notification :: STATE_DONE ) { $ this -> notificationPool -> addNotification ( new TranslatableNotificationMessage ( [ 'message' => $ message , 'translationParams' => $ params , 'domain' => $ domain , ] ) , $ status ) ; }
docstring: Registers a translatable notification.
  
  @param string $message
  @param array $params Translation parameters to be injected into $message.
  @param string $domain Translation domain.
  @param string $status On of Notification::STATE_DONE, Notification::STATE_ERROR, Notification::STATE_STARTED
docstring_tokens: Registers a translatable notification .