/**
  * Implementation of the `asset(path)` twig function.
  *
  * @param  string  $path     Path to the asset, relative to the webroot or asset root.
  * @param  boolean $relative Whether to generate an absolute or relative URL.
  *
  * @return [type]            [description]
  */
 public function getAsset($path, $relative = false)
 {
     return $this->urlGenerator->getAssetUrl($path, $relative);
 }