'onInitRequest', 'Session' => 'onInitSession', ]; } /** * @return Request */ public static function onInitRequest() { return Request::createFromGlobals(); } /** * @return Session\Session */ public static function onInitSession() { return SessionHandler::createSession(); } }