original_string: public function captureMessage($message, $params = [], $data = [], $stack = false, $vars = null)
      {
          if (!Configure::read('CakeMonitor.Sentry.enabled') || error_reporting() === 0) {
              return false;
          }
  
          if (is_callable(Configure::read('CakeMonitor.Sentry.extraDataCallback'))) {
              $data['extra']['extraDataCallback'] = call_user_func(Configure::read('CakeMonitor.Sentry.extraDataCallback'));
          }
  
          return $this->_ravenClient->captureMessage($message, $params, $data, $stack, $vars);
      }
code: public function captureMessage($message, $params = [], $data = [], $stack = false, $vars = null)
      {
          if (!Configure::read('CakeMonitor.Sentry.enabled') || error_reporting() === 0) {
              return false;
          }
  
          if (is_callable(Configure::read('CakeMonitor.Sentry.extraDataCallback'))) {
              $data['extra']['extraDataCallback'] = call_user_func(Configure::read('CakeMonitor.Sentry.extraDataCallback'));
          }
  
          return $this->_ravenClient->captureMessage($message, $params, $data, $stack, $vars);
      }
code_tokens: public function captureMessage ( $ message , $ params = [ ] , $ data = [ ] , $ stack = false , $ vars = null ) { if ( ! Configure :: read ( 'CakeMonitor.Sentry.enabled' ) || error_reporting ( ) === 0 ) { return false ; } if ( is_callable ( Configure :: read ( 'CakeMonitor.Sentry.extraDataCallback' ) ) ) { $ data [ 'extra' ] [ 'extraDataCallback' ] = call_user_func ( Configure :: read ( 'CakeMonitor.Sentry.extraDataCallback' ) ) ; } return $ this -> _ravenClient -> captureMessage ( $ message , $ params , $ data , $ stack , $ vars ) ; }
docstring: Capture a message via sentry
  
  @param string $message The message (primary description) for the event.
  @param array $params params to use when formatting the message.
  @param array $data Additional attributes to pass with this event (see Sentry docs).
  @param bool $stack Print stack trace
  @param null $vars Variables
  @return bool
docstring_tokens: Capture a message via sentry