src/Support/BridgeStack.php
public function mountBridge($name, $credential, $service = null, $authMethod = 'credentials')
    {
        // Creates the Bridge.
        $bridge = $this->carpenter->constructBridge($credential, $service, $authMethod);

        // Save it under a name.
        $this->put($name, $bridge);

        return $this;
    }
public function mountBridge($name, $credential, $service = null, $authMethod = 'credentials')
    {
        // Creates the Bridge.
        $bridge = $this->carpenter->constructBridge($credential, $service, $authMethod);

        // Save it under a name.
        $this->put($name, $bridge);

        return $this;
    }
public function mountBridge ( $ name , $ credential , $ service = null , $ authMethod = 'credentials' ) { // Creates the Bridge. $ bridge = $ this -> carpenter -> constructBridge ( $ credential , $ service , $ authMethod ) ; // Save it under a name. $ this -> put ( $ name , $ bridge ) ; return $ this ; }
Mounts a Bridge on the stack.

@param string $name
@param string $credential
@param string $service
@param string $authMethod

@return $this
Mounts a Bridge on the stack .