public function initialize()
    {
        $this->capsule->bootEloquent();

        if ('default' !== $this->defaultConnection) {
            $this->capsule->getDatabaseManager()->setDefaultConnection($this->defaultConnection);
        }
    }
public function initialize()
    {
        $this->capsule->bootEloquent();

        if ('default' !== $this->defaultConnection) {
            $this->capsule->getDatabaseManager()->setDefaultConnection($this->defaultConnection);
        }
    }
public function initialize ( ) { $ this -> capsule -> bootEloquent ( ) ; if ( 'default' !== $ this -> defaultConnection ) { $ this -> capsule -> getDatabaseManager ( ) -> setDefaultConnection ( $ this -> defaultConnection ) ; } }
Initializes the Eloquent ORM.
Initializes the Eloquent ORM .