/**
* Helper method to get the asset from the registry.
*
* @param string $type Asset type, script or style
* @param string $name Asset name
*
* @return WebAssetItemInterface
*
* @throws UnknownAssetException When Asset cannot be found
*
* @since 4.0.0
*/
public function getAsset(string $type, string $name) : WebAssetItemInterface
{
return $this->registry->get($type, $name);
}