function JsCollectionRenderer::__construct

Constructs a JsCollectionRenderer.

Parameters

\Drupal\Core\Asset\AssetQueryStringInterface $assetQueryString: The asset query string.

\Drupal\Core\File\FileUrlGeneratorInterface $fileUrlGenerator: The file URL generator.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

File

core/lib/Drupal/Core/Asset/JsCollectionRenderer.php, line 24

Class

JsCollectionRenderer
Renders JavaScript assets.

Namespace

Drupal\Core\Asset

Code

public function __construct(protected AssetQueryStringInterface $assetQueryString, protected FileUrlGeneratorInterface $fileUrlGenerator, protected TimeInterface $time) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.