]> Raphaël G. Git Repositories - packbundle/commitdiff
Rename PathPackage in PackPackage to avoid problem with upstream name
authorRaphaël Gertz <git@rapsys.eu>
Thu, 28 Nov 2019 18:22:04 +0000 (19:22 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 28 Nov 2019 18:22:04 +0000 (19:22 +0100)
Fix configuration to match new naming

Asset/PackPackage.php [moved from Asset/PathPackage.php with 94% similarity]
Resources/config/packages/rapsys_pack.yaml

similarity index 94%
rename from Asset/PathPackage.php
rename to Asset/PackPackage.php
index 1a975c5e9e6cc5bf6dae3346a070346529d7fb26..64b345cd41fa27b8ccfa06d8665a0aca75b2b103 100644 (file)
@@ -3,13 +3,13 @@
 namespace Rapsys\PackBundle\Asset;
 
 use Symfony\Component\Asset\Context\ContextInterface;
-use Symfony\Component\Asset\PathPackage as BasePackage;
+use Symfony\Component\Asset\PathPackage;
 use Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface;
 
 /**
  * (@inheritdoc)
  */
-class PathPackage extends BasePackage {
+class PackPackage extends PathPackage {
        //The base path
        protected $basePath;
 
index da453814615d742642cd0db2080a94723474b87d..d0dc6a295f61ea2a85aee023a5ab0b1e21f5324b 100644 (file)
@@ -2,7 +2,7 @@
 services:
     #Register assets pack package
     assets.pack_package:
-        class: Rapsys\PackBundle\Asset\PathPackage
+        class: Rapsys\PackBundle\Asset\PackPackage
         arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ]
     #Register twig pack extension
     rapsys_pack.twig.pack_extension: