function AssetRoutes::__construct

Same name in other branches
  1. 11.x core/modules/system/src/Routing/AssetRoutes.php \Drupal\system\Routing\AssetRoutes::__construct()

Constructs an asset routes object.

Parameters

\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $streamWrapperManager: The stream wrapper manager service.

File

core/modules/system/src/Routing/AssetRoutes.php, line 21

Class

AssetRoutes
Defines a routes' callback to register a URL for serving assets.

Namespace

Drupal\system\Routing

Code

public function __construct(StreamWrapperManagerInterface $streamWrapperManager) {
}

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