public function evaluate()
    {
        $path = $this->getPath();
        if ($path === null) {
            throw new FusionException('"path" was not specified', 1386458763);
        }

        $package = $this->getPackage();
        if ($package === null) {
            $controllerContext = $this->runtime->getControllerContext();
            /** @var $actionRequest ActionRequest */
            $actionRequest = $controllerContext->getRequest();
            $package = $actionRequest->getControllerPackageKey();
        }

        return $this->resourceService->getResourceUri($path, $package);
    }
public function evaluate()
    {
        $path = $this->getPath();
        if ($path === null) {
            throw new FusionException('"path" was not specified', 1386458763);
        }

        $package = $this->getPackage();
        if ($package === null) {
            $controllerContext = $this->runtime->getControllerContext();
            /** @var $actionRequest ActionRequest */
            $actionRequest = $controllerContext->getRequest();
            $package = $actionRequest->getControllerPackageKey();
        }

        return $this->resourceService->getResourceUri($path, $package);
    }
public function evaluate ( ) { $ path = $ this -> getPath ( ) ; if ( $ path === null ) { throw new FusionException ( '"path" was not specified' , 1386458763 ) ; } $ package = $ this -> getPackage ( ) ; if ( $ package === null ) { $ controllerContext = $ this -> runtime -> getControllerContext ( ) ; /** @var $actionRequest ActionRequest */ $ actionRequest = $ controllerContext -> getRequest ( ) ; $ package = $ actionRequest -> getControllerPackageKey ( ) ; } return $ this -> resourceService -> getResourceUri ( $ path , $ package ) ; }
Returns the absolute URL of a resource with cache bursting string

@return string
@throws FusionException
@throws \Exception
Returns the absolute URL of a resource with cache bursting string