Assetic\Asset\HttpAsset::__construct
Constructor.
Signature
public function __construct(string
$sourceUrl,
[array
$filters = false,
[Boolean
$ignoreErrors = false,
array
$vars]] )
Parameters
$sourceUrl
— string- The source URL
$filters
— array- An array of filters
$ignoreErrors
— object
$vars
— array
Errors/Exceptions
-
InvalidArgumentException
- If the first argument is not an URL