Assetic\Util\CssUtils::filterImports
Filters all CSS imports through a callable.
Signature
public function filterImports(string
$content,
[callable&
$callback = 1,
[integer&
$limit = 1,
[integer&
$count = 0,
[Boolean
$includeUrl = true]]]] )
Parameters
$content
—
string
- The CSS
$callback
—
object
- A PHP callable
$limit
—
integer
- Limit the number of replacements
$count
—
integer
- Will be populated with the count
$includeUrl
—
object
- Whether to include url() in the pattern
Returns
- string
- The filtered CSS