-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathApprovalBundle.php
More file actions
24 lines (20 loc) · 782 Bytes
/
ApprovalBundle.php
File metadata and controls
24 lines (20 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace KimaiPlugin\ApprovalBundle;
use App\Plugin\PluginInterface;
use KimaiPlugin\ApprovalBundle\DependencyInjection\Compiler\ApprovalSettingsCompilerPass;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class ApprovalBundle extends Bundle implements PluginInterface
{
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new ApprovalSettingsCompilerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION);
}
}