Packages

Packages

class Packages

Helps manage asset URLs.

Methods

<
__construct(PackageInterface $defaultPackage = null, array $packages = array())
setDefaultPackage(PackageInterface $defaultPackage)

Sets the default package.

addPackage(string $name, PackageInterface $package)

Adds a package.

PackageInterface