<?php
/*
* This file is part of the logist\systemd-bundle package.
*
* Copyright 2019 logist.cloud <support@logist.cloud>
*/
namespace LogistSystemdBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use LogistSystemdBundle\DependencyInjection\LogistSystemdServicePass;
use LogistSystemdBundle\DependencyInjection\LogistSystemdServiceFactoryPass;
/**
* LogistSystemdBundle
*
* @author Grigoriy Kulin <yarboroda@gmail.com>
*/
class LogistSystemdBundle extends Bundle
{
/**
* @param ContainerBuilder $container
* @return void
*/
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new LogistSystemdServicePass());
$container->addCompilerPass(new LogistSystemdServiceFactoryPass());
}
}