Assetic\Util\CssUtils::filterUrls
Filters all CSS url()'s through a callable.
Signature
public function filterUrls(string
$content,
[callable&
$callback = 1,
[integer&
$limit = 1,
[integer&
$count = 0]]] )
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
Returns
- string
- The filtered CSS