lib/Doctrine/DBAL/DriverManager.php
private static function parseSqliteDatabaseUrlPath(array $url, array $params) : array
    {
        if ($url['path'] === ':memory:') {
            $params['memory'] = true;

            return $params;
        }

        $params['path'] = $url['path']; // pdo_sqlite driver uses 'path' instead of 'dbname' key

        return $params;
    }
private static function parseSqliteDatabaseUrlPath(array $url, array $params) : array
    {
        if ($url['path'] === ':memory:') {
            $params['memory'] = true;

            return $params;
        }

        $params['path'] = $url['path']; // pdo_sqlite driver uses 'path' instead of 'dbname' key

        return $params;
    }
private static function parseSqliteDatabaseUrlPath ( array $ url , array $ params ) : array { if ( $ url [ 'path' ] === ':memory:' ) { $ params [ 'memory' ] = true ; return $ params ; } $ params [ 'path' ] = $ url [ 'path' ] ; // pdo_sqlite driver uses 'path' instead of 'dbname' key return $ params ; }
Parses the given SQLite connection URL and resolves the given connection parameters.

Assumes that the "path" URL part is already normalized via {@link normalizeDatabaseUrlPath}.

@see normalizeDatabaseUrlPath

@param mixed[] $url    The SQLite connection URL parts to evaluate.
@param mixed[] $params The connection parameters to resolve.

@return mixed[] The resolved connection parameters.
Parses the given SQLite connection URL and resolves the given connection parameters .