Fix configuration to match new naming
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;
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: