gear/Core/Application.php
/**
     * This method used to initialize application.
     *
     * When inherit Application, only overload this, the constrcutor called
     * this automatically.
     *
     * @return void
     */
This method used to initialize application.
When inherit Application, only overload this, the constrcutor called
this automatically.

@return void
This method used to initialize application . When inherit Application only overload this the constrcutor called this automatically . @return void
protected function initialize()
    {
        $this->defaultRequest = $this->factory(function () {
            return new Request();
        });
        $this->router = function () {
            return new Router();
        };
        $this->responseClass = '\\Gear\\Network\\Response';
    }
protected function initialize ( ) { $ this -> defaultRequest = $ this -> factory ( function ( ) { return new Request ( ) ; } ) ; $ this -> router = function ( ) { return new Router ( ) ; } ; $ this -> responseClass = '\\Gear\\Network\\Response' ; }
This method used to initialize application.
This method used to initialize application .