public static function get($name = 'default')
    {
        if (!isset(self::$connections[$name])) {
            return null;
        }

        $connector = self::$connections[$name];

        return $connector->connection();
    }
public static function get($name = 'default')
    {
        if (!isset(self::$connections[$name])) {
            return null;
        }

        $connector = self::$connections[$name];

        return $connector->connection();
    }
public static function get ( $ name = 'default' ) { if ( ! isset ( self :: $ connections [ $ name ] ) ) { return null ; } $ connector = self :: $ connections [ $ name ] ; return $ connector -> connection ( ) ; }
Get a PDO-Connection

@param string $name

@return null
Get a PDO - Connection