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

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. class SuluTagBundle extends Bundle
  19. {
  20.     use PersistenceBundleTrait;
  21.     public function build(ContainerBuilder $container)
  22.     {
  23.         $this->buildPersistence(
  24.             [
  25.                 TagInterface::class => 'sulu.model.tag.class',
  26.             ],
  27.             $container
  28.         );
  29.     }
  30. }