original_string: protected function _callback(Controller $controller, $method, $params = [])
      {
          if (!is_callable([$controller, $method])) {
              throw new BadRequestException('The request has been black-holed');
          }
  
          return call_user_func_array([&$controller, $method], empty($params) ? null : $params);
      }
code: protected function _callback(Controller $controller, $method, $params = [])
      {
          if (!is_callable([$controller, $method])) {
              throw new BadRequestException('The request has been black-holed');
          }
  
          return call_user_func_array([&$controller, $method], empty($params) ? null : $params);
      }
code_tokens: protected function _callback ( Controller $ controller , $ method , $ params = [ ] ) { if ( ! is_callable ( [ $ controller , $ method ] ) ) { throw new BadRequestException ( 'The request has been black-holed' ) ; } return call_user_func_array ( [ & $ controller , $ method ] , empty ( $ params ) ? null : $ params ) ; }
docstring: Calls a controller callback method
  
  @param \Cake\Controller\Controller $controller Instantiating controller
  @param string $method Method to execute
  @param array $params Parameters to send to method
  @return mixed Controller callback method's response
  @throws \Cake\Http\Exception\BadRequestException When a the blackholeCallback is not callable.
docstring_tokens: Calls a controller callback method