class PackageFactory
deprecated
since 2.7, will be removed in 3.0. Use the Asset component instead.
Creates packages based on whether the current request is secure.
Methods
__construct(ContainerInterface $container) | ||
PackageInterface | getPackage(Request $request, string $httpId, string $sslId) Returns either the HTTP or SSL version of an asset package. |
Details
__construct(ContainerInterface $container)
PackageInterface getPackage(Request $request, string $httpId, string $sslId)
Returns either the HTTP or SSL version of an asset package.
Please login to continue.