ImportMapFactory implements SingletonInterface
Read onlyYes
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Interfaces
- SingletonInterface
- "empty" interface for singletons (marker interface pattern)
Methods
- __construct() : mixed
- create() : ImportMap
Methods
__construct()
public
__construct(HashService $hashService, PackageManager $packageManager, FrontendInterface $assetsCache, EventDispatcherInterface $eventDispatcher, string $cacheIdentifier) : mixed
Parameters
- $hashService : HashService
- $packageManager : PackageManager
- $assetsCache : FrontendInterface
- $eventDispatcher : EventDispatcherInterface
- $cacheIdentifier : string
create()
public
create([bool $bustSuffix = true ]) : ImportMap
Parameters
- $bustSuffix : bool = true