public static function extractImports($content)
    {
        $imports = array();
        static::filterImports($content, function($matches) use(& $imports) {
            $imports[] = $matches['url'];
        });

        return array_unique($imports);
    }
public static function extractImports($content)
    {
        $imports = array();
        static::filterImports($content, function($matches) use(& $imports) {
            $imports[] = $matches['url'];
        });

        return array_unique($imports);
    }
public static function extractImports ( $ content ) { $ imports = array ( ) ; static :: filterImports ( $ content , function ( $ matches ) use ( & $ imports ) { $ imports [ ] = $ matches [ 'url' ] ; } ) ; return array_unique ( $ imports ) ; }
Extracts all references from the supplied CSS content.

@param string $content The CSS content

@return array An array of unique URLs
Extracts all references from the supplied CSS content .