X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/de79190e6f2bb667c2ab9ad3d94815c20f218ba8..b29d46fa4a1cb6b6cae4274f5bd0f6aaafa27f04:/Package/PathPackage.php 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