<?php declare(strict_types=1);
namespace UploadsBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use UploadsBundle\DependencyInjection\Compiler\AutowireControllerPass;
use UploadsBundle\DependencyInjection\Compiler\RegisterHandlersPass;
use UploadsBundle\DependencyInjection\Compiler\SetFlysystemDirectoriesVisibilityPass;
class UploadsBundle extends Bundle
{
public function build(ContainerBuilder $container): void
{
$container->addCompilerPass(new RegisterHandlersPass());
$container->addCompilerPass(new SetFlysystemDirectoriesVisibilityPass());
$container->addCompilerPass(new AutowireControllerPass());
}
}