original_string: public function getNotFoundMessage(NotFoundHttpException $exception)
      {
          $message = ! empty($exception->getMessage()) ? $exception->getMessage() : class_basename($exception);
          if (basename($exception->getFile()) === 'RouteCollection.php') {
              $message = __('exception::exceptions.not_found_http.message');
          }
  
          return $message;
      }
code: public function getNotFoundMessage(NotFoundHttpException $exception)
      {
          $message = ! empty($exception->getMessage()) ? $exception->getMessage() : class_basename($exception);
          if (basename($exception->getFile()) === 'RouteCollection.php') {
              $message = __('exception::exceptions.not_found_http.message');
          }
  
          return $message;
      }
code_tokens: public function getNotFoundMessage ( NotFoundHttpException $ exception ) { $ message = ! empty ( $ exception -> getMessage ( ) ) ? $ exception -> getMessage ( ) : class_basename ( $ exception ) ; if ( basename ( $ exception -> getFile ( ) ) === 'RouteCollection.php' ) { $ message = __ ( 'exception::exceptions.not_found_http.message' ) ; } return $ message ; }
docstring: Get message based on file. If file is RouteCollection return specific
  message.
  
  @param  NotFoundHttpException $exception
  @return string
docstring_tokens: Get message based on file . If file is RouteCollection return specific message .