vendor/sulu/sulu/src/Sulu/Bundle/ActivityBundle/SuluActivityBundle.php line 21
<?php
/*
* This file is part of Sulu.
*
* (c) Sulu GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\ActivityBundle;
use Sulu\Bundle\ActivityBundle\Domain\Model\ActivityInterface;
use Sulu\Bundle\ActivityBundle\Infrastructure\Symfony\DependencyInjection\SuluActivityExtension;
use Sulu\Bundle\PersistenceBundle\PersistenceBundleTrait;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class SuluActivityBundle extends Bundle
{
use PersistenceBundleTrait;
public function build(ContainerBuilder $container): void
{
$this->buildPersistence(
[
ActivityInterface::class => 'sulu.model.activity.class',
],
$container
);
}
public function getContainerExtension(): ExtensionInterface
{
return new SuluActivityExtension();
}
}