vendor/sulu/automation-bundle/SuluAutomationBundle.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\AutomationBundle;
  11. use Sulu\Bundle\AutomationBundle\Tasks\Model\TaskInterface;
  12. use Sulu\Bundle\PersistenceBundle\PersistenceBundleTrait;
  13. use Symfony\Component\DependencyInjection\ContainerBuilder;
  14. use Symfony\Component\HttpKernel\Bundle\Bundle;
  15. /**
  16.  * Entry point for this bundle.
  17.  */
  18. class SuluAutomationBundle extends Bundle
  19. {
  20.     use PersistenceBundleTrait;
  21.     public function build(ContainerBuilder $container): void
  22.     {
  23.         $this->buildPersistence(
  24.             [
  25.                 TaskInterface::class => 'sulu.model.task.class',
  26.             ],
  27.             $container
  28.         );
  29.     }
  30. }