original_string: public function shutdownProcess()
      {
          $event = $this->dispatchEvent('Controller.shutdown');
          if ($event->getResult() instanceof Response) {
              return $event->getResult();
          }
  
          return null;
      }
code: public function shutdownProcess()
      {
          $event = $this->dispatchEvent('Controller.shutdown');
          if ($event->getResult() instanceof Response) {
              return $event->getResult();
          }
  
          return null;
      }
code_tokens: public function shutdownProcess ( ) { $ event = $ this -> dispatchEvent ( 'Controller.shutdown' ) ; if ( $ event -> getResult ( ) instanceof Response ) { return $ event -> getResult ( ) ; } return null ; }
docstring: Perform the various shutdown processes for this controller.
  Fire the Components and Controller callbacks in the correct order.
  
  - triggers the component `shutdown` callback.
  - calls the Controller's `afterFilter` method.
  
  @return \Cake\Http\Response|null
docstring_tokens: Perform the various shutdown processes for this controller . Fire the Components and Controller callbacks in the correct order .