function CssCollectionOptimizerLazy::__construct

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php \Drupal\Core\Asset\CssCollectionOptimizerLazy::__construct()

Constructs a CssCollectionOptimizerLazy.

Parameters

\Drupal\Core\Asset\AssetCollectionGrouperInterface $grouper: The grouper for CSS assets.

\Drupal\Core\Asset\AssetOptimizerInterface $optimizer: The asset optimizer.

\Drupal\Core\Theme\ThemeManagerInterface $themeManager: The theme manager.

\Drupal\Core\Asset\LibraryDependencyResolverInterface $dependencyResolver: The library dependency resolver.

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.

\Drupal\Core\File\FileSystemInterface $fileSystem: The file system service.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.

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

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

\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager.

File

core/lib/Drupal/Core/Asset/CssCollectionOptimizerLazy.php, line 45

Class

CssCollectionOptimizerLazy
Optimizes CSS assets.

Namespace

Drupal\Core\Asset

Code

public function __construct(AssetCollectionGrouperInterface $grouper, AssetOptimizerInterface $optimizer, ThemeManagerInterface $themeManager, LibraryDependencyResolverInterface $dependencyResolver, RequestStack $requestStack, FileSystemInterface $fileSystem, ConfigFactoryInterface $configFactory, FileUrlGeneratorInterface $fileUrlGenerator, TimeInterface $time, LanguageManagerInterface $languageManager) {
}

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