protected function registerBridge()
    {
        // Bind WatsonBridge for Personality insights that we depend on.
        $this->app->bind('PIBridge', function (Application $app) {
            // Get Default Credentials.
            $credentials = $app->make(AccessManager::SERVICE_ID)->getCredentials();

            // Return an Instance of Bridge.
            return new Bridge($credentials['username'], $credentials['password'], $credentials['url']);
        });
    }
protected function registerBridge()
    {
        // Bind WatsonBridge for Personality insights that we depend on.
        $this->app->bind('PIBridge', function (Application $app) {
            // Get Default Credentials.
            $credentials = $app->make(AccessManager::SERVICE_ID)->getCredentials();

            // Return an Instance of Bridge.
            return new Bridge($credentials['username'], $credentials['password'], $credentials['url']);
        });
    }
protected function registerBridge ( ) { // Bind WatsonBridge for Personality insights that we depend on. $ this -> app -> bind ( 'PIBridge' , function ( Application $ app ) { // Get Default Credentials. $ credentials = $ app -> make ( AccessManager :: SERVICE_ID ) -> getCredentials ( ) ; // Return an Instance of Bridge. return new Bridge ( $ credentials [ 'username' ] , $ credentials [ 'password' ] , $ credentials [ 'url' ] ) ; } ) ; }
Registers the Bridge.

@return void
Registers the Bridge .