Themosis\Foundation\Application::registerApplication PHP Method

registerApplication() public method

Register the Application class into the container, so we can access it from the container itself.
public registerApplication ( )
    public function registerApplication()
    {
        // Normally, only one instance is shared into the container.
        static::setInstance($this);
        $this->instance('app', $this);
    }