PHP Class MiniAsset\Utility\CssUtils

显示文件 Open project: markstory/mini-asset Class Usage Examples

Public Methods

Method Description
extractImports ( string $css ) : array Extract the urls in import directives.

Method Details

extractImports() public static method

Extract the urls in import directives.
public static extractImports ( string $css ) : array
$css string The CSS to parse.
return array An array of CSS files that were used in imports.