public function shutdownProcess()
    {
        $event = $this->dispatchEvent('Controller.shutdown');
        if ($event->getResult() instanceof Response) {
            return $event->getResult();
        }

        return null;
    }
public function shutdownProcess()
    {
        $event = $this->dispatchEvent('Controller.shutdown');
        if ($event->getResult() instanceof Response) {
            return $event->getResult();
        }

        return null;
    }
public function shutdownProcess ( ) { $ event = $ this -> dispatchEvent ( 'Controller.shutdown' ) ; if ( $ event -> getResult ( ) instanceof Response ) { return $ event -> getResult ( ) ; } return null ; }
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
Perform the various shutdown processes for this controller . Fire the Components and Controller callbacks in the correct order .