Assetic\Asset\StringAsset::__construct
Constructor.
Signature
public function __construct(string
$content,
[array
$filters = null,
[string
$sourceRoot = null,
[string
$sourcePath = null]]] )
Parameters
$content
— string- The content of the asset
$filters
— array- Filters for the asset
$sourceRoot
— string- The source asset root directory
$sourcePath
— string- The source asset path