X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/de79190e6f2bb667c2ab9ad3d94815c20f218ba8..03e18bcdbca85c9396dec9cc6d5b4b93836ff37a:/Package/PathPackage.php?ds=sidebyside diff --git a/Package/PathPackage.php b/Package/PathPackage.php index c202b19..c53b10f 100644 --- a/Package/PathPackage.php +++ b/Package/PathPackage.php @@ -11,12 +11,12 @@ namespace Rapsys\PackBundle\Package; +use Rapsys\PackBundle\Context\NullContext; + use Symfony\Component\Asset\Context\ContextInterface; use Symfony\Component\Asset\Package; use Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface; -use Rapsys\PackBundle\Context\NullContext; - /** * {@inheritdoc} */ @@ -57,6 +57,8 @@ class PathPackage extends Package { } /** + * {@inheritdoc} + * * Returns an absolute or root-relative public path * * Transform @BundleBundle to bundle and remove /Resources/public fragment from path @@ -65,8 +67,6 @@ class PathPackage extends Package { * @link https://symfony.com/doc/current/bundles.html#overridding-the-bundle-directory-structure * @see vendor/symfony/framework-bundle/Command/AssetsInstallCommand.php +113 * @see vendor/symfony/framework-bundle/Command/AssetsInstallCommand.php +141 - * - * {@inheritdoc} */ public function getUrl(string $path): string { //Match url starting with a bundle name