src/Rocketeer/Services/Connections/ConnectionsHandler.php
public function getAvailableConnections()
    {
        // Fetch stored credentials
        $storage = $this->localStorage->get('connections');
        $storage = $this->unifyMultiserversDeclarations($storage);

        // Merge with defaults from config file
        $configuration = $this->config->get('connections');
        $configuration = $this->unifyMultiserversDeclarations($configuration);

        // Merge configurations
        $connections = array_replace_recursive($configuration, $storage);

        return $connections;
    }
public function getAvailableConnections()
    {
        // Fetch stored credentials
        $storage = $this->localStorage->get('connections');
        $storage = $this->unifyMultiserversDeclarations($storage);

        // Merge with defaults from config file
        $configuration = $this->config->get('connections');
        $configuration = $this->unifyMultiserversDeclarations($configuration);

        // Merge configurations
        $connections = array_replace_recursive($configuration, $storage);

        return $connections;
    }
public function getAvailableConnections ( ) { // Fetch stored credentials $ storage = $ this -> localStorage -> get ( 'connections' ) ; $ storage = $ this -> unifyMultiserversDeclarations ( $ storage ) ; // Merge with defaults from config file $ configuration = $ this -> config -> get ( 'connections' ) ; $ configuration = $ this -> unifyMultiserversDeclarations ( $ configuration ) ; // Merge configurations $ connections = array_replace_recursive ( $ configuration , $ storage ) ; return $ connections ; }
Get the available connections.

@return array
Get the available connections .