function filter_assetUrl ($v)
  {
    /** @var ViewServiceInterface $viewService */
    $viewService = $this->injector->make (ViewServiceInterface::class);
    $view        = $viewService->currentView ();
    $path        = $viewService->getModuleOfPath ($view->getPath ());
    return "modules/$path/$v";
  }
function filter_assetUrl ($v)
  {
    /** @var ViewServiceInterface $viewService */
    $viewService = $this->injector->make (ViewServiceInterface::class);
    $view        = $viewService->currentView ();
    $path        = $viewService->getModuleOfPath ($view->getPath ());
    return "modules/$path/$v";
  }
function filter_assetUrl ( $ v ) { /** @var ViewServiceInterface $viewService */ $ viewService = $ this -> injector -> make ( ViewServiceInterface :: class ) ; $ view = $ viewService -> currentView ( ) ; $ path = $ viewService -> getModuleOfPath ( $ view -> getPath ( ) ) ; return "modules/$path/$v" ; }
Converts an asset file path, which is relative to the current module's public directory, to an URL path relative
to the application's root.

><p>Note: the current module is the module where the template was loaded from.

@param string $v An asset path.
@return string
@throws InjectionException
Converts an asset file path which is relative to the current module s public directory to an URL path relative to the application s root .