original_string: public function find(string $operation, string $locale)
      {
          $model = $this->notifications->first(function ($value) use($operation, $locale) {
              return $value->code === $locale && ($value->title === $operation || $value->name === $operation);
          });
  
          return $model ? $model->content : false;
      }
code: public function find(string $operation, string $locale)
      {
          $model = $this->notifications->first(function ($value) use($operation, $locale) {
              return $value->code === $locale && ($value->title === $operation || $value->name === $operation);
          });
  
          return $model ? $model->content : false;
      }
code_tokens: public function find ( string $ operation , string $ locale ) { $ model = $ this -> notifications -> first ( function ( $ value ) use ( $ operation , $ locale ) { return $ value -> code === $ locale && ( $ value -> title === $ operation || $ value -> name === $ operation ) ; } ) ; return $ model ? $ model -> content : false ; }
docstring: Finds notification content by title and locale.
  
  @param string $operation
  @param string $locale
  @return bool
docstring_tokens: Finds notification content by title and locale .