private function registerAppBindings($environment)
    {
        static::setInstance($this);

        // Set application environment
        $this->setEnvironment($environment);

        // Set container
        $this->set('app', $this);
        $this->set(self::class, $this);
        $this->set(Container::class, $this);

        return $this;
    }
private function registerAppBindings($environment)
    {
        static::setInstance($this);

        // Set application environment
        $this->setEnvironment($environment);

        // Set container
        $this->set('app', $this);
        $this->set(self::class, $this);
        $this->set(Container::class, $this);

        return $this;
    }
private function registerAppBindings ( $ environment ) { static :: setInstance ( $ this ) ; // Set application environment $ this -> setEnvironment ( $ environment ) ; // Set container $ this -> set ( 'app' , $ this ) ; $ this -> set ( self :: class , $ this ) ; $ this -> set ( Container :: class , $ this ) ; return $ this ; }
Register application bindings.

@param string $environment

@return $this
Register application bindings .