]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Package/PathPackage.php
Add configurable separator to slug member function
[packbundle] / Package / PathPackage.php
index c202b1931790893fba4a3e6f1b3ad807237cf17f..c53b10fc268c74ef7fc179592db25c2ca2b47709 100644 (file)
 
 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