public function getPublicPackageResourceUri($packageKey, $relativePathAndFilename)
    {
        $this->initialize();

        /** @var TargetInterface $target */
        $target = $this->collections[self::DEFAULT_STATIC_COLLECTION_NAME]->getTarget();
        return $target->getPublicStaticResourceUri($packageKey . '/' . $relativePathAndFilename);
    }
public function getPublicPackageResourceUri($packageKey, $relativePathAndFilename)
    {
        $this->initialize();

        /** @var TargetInterface $target */
        $target = $this->collections[self::DEFAULT_STATIC_COLLECTION_NAME]->getTarget();
        return $target->getPublicStaticResourceUri($packageKey . '/' . $relativePathAndFilename);
    }
public function getPublicPackageResourceUri ( $ packageKey , $ relativePathAndFilename ) { $ this -> initialize ( ) ; /** @var TargetInterface $target */ $ target = $ this -> collections [ self :: DEFAULT_STATIC_COLLECTION_NAME ] -> getTarget ( ) ; return $ target -> getPublicStaticResourceUri ( $ packageKey . '/' . $ relativePathAndFilename ) ; }
Returns the public URI for a static resource provided by the specified package and in the given
path below the package's resources directory.

@param string $packageKey Package key
@param string $relativePathAndFilename A relative path below the "Resources" directory of the package
@return string
@api
Returns the public URI for a static resource provided by the specified package and in the given path below the package s resources directory .