Constructor.
Attributes can be added to the tag by passing names as the options array. These values, if found, will be passed to the factory and node.
AssetFactory $factory The asset factory:
string $tag The tag name:
string $output The default output string:
Boolean $single Whether to force a single asset:
array $extensions Additional attribute names to look for:
public function __construct(AssetFactory $factory, $tag, $output, $single = false, array $extensions = array()) {
$this->factory = $factory;
$this->tag = $tag;
$this->output = $output;
$this->single = $single;
$this->extensions = $extensions;
}