]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Extension/PackExtension.php
Move alias generation in RapsysPackBundle::getAlias
[packbundle] / Extension / PackExtension.php
index 118de0c1a96006682189b29c58e94db0b1bbf455..48f93cd3b584caa87005d5fed8affe832d15ee19 100644 (file)
@@ -16,8 +16,9 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
 use Symfony\Component\HttpKernel\Config\FileLocator;
 use Twig\Extension\AbstractExtension;
 
 use Symfony\Component\HttpKernel\Config\FileLocator;
 use Twig\Extension\AbstractExtension;
 
-use Rapsys\PackBundle\Util\SluggerUtil;
 use Rapsys\PackBundle\Parser\TokenParser;
 use Rapsys\PackBundle\Parser\TokenParser;
+use Rapsys\PackBundle\RapsysPackBundle;
+use Rapsys\PackBundle\Util\SluggerUtil;
 
 /**
  * {@inheritdoc}
 
 /**
  * {@inheritdoc}
@@ -95,6 +96,6 @@ class PackExtension extends AbstractExtension {
         * {@inheritdoc}
         */
        public function getAlias(): string {
         * {@inheritdoc}
         */
        public function getAlias(): string {
-               return 'rapsys_pack';
+               return RapsysPackBundle::getAlias();
        }
 }
        }
 }