src/Database/ConnectionCollection.php
public static function get($connectionName)
    {
        if (self::exists($connectionName) === true) {
            return self::$connectionList[$connectionName];
        } else {
            throw new Exception('Datasource "' . $connectionName . '" isn\'t defined in DatasourceCollection');
            return false;
        }
    }
public static function get($connectionName)
    {
        if (self::exists($connectionName) === true) {
            return self::$connectionList[$connectionName];
        } else {
            throw new Exception('Datasource "' . $connectionName . '" isn\'t defined in DatasourceCollection');
            return false;
        }
    }
public static function get ( $ connectionName ) { if ( self :: exists ( $ connectionName ) === true ) { return self :: $ connectionList [ $ connectionName ] ; } else { throw new Exception ( 'Datasource "' . $ connectionName . '" isn\'t defined in DatasourceCollection' ) ; return false ; } }
Get connection by his name

@since   1.0
@param   string $connectionName Connection who will get.
@return  bool|\Pabana\Database\Connection Return Connection object if exist or return false.
Get connection by his name