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

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

        return null;
    }
public function startupProcess ( ) { $ event = $ this -> dispatchEvent ( 'Controller.initialize' ) ; if ( $ event -> getResult ( ) instanceof Response ) { return $ event -> getResult ( ) ; } $ event = $ this -> dispatchEvent ( 'Controller.startup' ) ; if ( $ event -> getResult ( ) instanceof Response ) { return $ event -> getResult ( ) ; } return null ; }
Perform the startup process for this controller.
Fire the Components and Controller callbacks in the correct order.

- Initializes components, which fires their `initialize` callback
- Calls the controller `beforeFilter`.
- triggers Component `startup` methods.

@return \Cake\Http\Response|null
Perform the startup process for this controller . Fire the Components and Controller callbacks in the correct order .