vendor/sulu/sulu/src/Sulu/Bundle/TagBundle/SuluTagBundle.php line 24

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of Sulu.
  4.  *
  5.  * (c) Sulu GmbH
  6.  *
  7.  * This source file is subject to the MIT license that is bundled
  8.  * with this source code in the file LICENSE.
  9.  */
  10. namespace Sulu\Bundle\TagBundle;
  11. use Sulu\Bundle\PersistenceBundle\PersistenceBundleTrait;
  12. use Sulu\Bundle\TagBundle\Tag\TagInterface;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. /**
  16.  * Entry-point of tag-bundle.
  17.  *
  18.  * @final
  19.  */
  20. class SuluTagBundle extends Bundle
  21. {
  22.     use PersistenceBundleTrait;
  23.     /**
  24.      * @internal
  25.      */
  26.     public function build(ContainerBuilder $container): void
  27.     {
  28.         $this->buildPersistence(
  29.             [
  30.                 TagInterface::class => 'sulu.model.tag.class',
  31.             ],
  32.             $container
  33.         );
  34.     }
  35. }