Symfony\Component\Templating\Helper\CoreAssetsHelper::getPackage
Returns an asset package.
Signature
public function getPackage([string
$name = null] )
Parameters
$name
— string- The name of the package or null for the default package
Returns
- PackageInterface
- An asset package
Errors/Exceptions
-
InvalidArgumentException
- If there is no package by that name