• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

api-platform / core / 16347430138

17 Jul 2025 02:09PM UTC coverage: 0.0%. First build
16347430138

Pull #7299

github

web-flow
Merge f8d564db8 into b52187d91
Pull Request #7299: feat(symfony): stop watch system provider/processor

0 of 50 new or added lines in 4 files covered. (0.0%)

0 of 51704 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Symfony/Bundle/ApiPlatformBundle.php
1
<?php
2

3
/*
4
 * This file is part of the API Platform project.
5
 *
6
 * (c) Kévin Dunglas <dunglas@gmail.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

12
declare(strict_types=1);
13

14
namespace ApiPlatform\Symfony\Bundle;
15

16
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\AttributeFilterPass;
17
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\AttributeResourcePass;
18
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\AuthenticatorManagerPass;
19
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\DataProviderPass;
20
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\ElasticsearchClientPass;
21
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\FilterPass;
22
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\GraphQlResolverPass;
23
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\GraphQlTypePass;
24
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\MetadataAwareNameConverterPass;
25
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\ProfilerPass;
26
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\SerializerMappingLoaderPass;
27
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\TestClientPass;
28
use ApiPlatform\Symfony\Bundle\DependencyInjection\Compiler\TestMercureHubPass;
29
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
30
use Symfony\Component\DependencyInjection\ContainerBuilder;
31
use Symfony\Component\HttpKernel\Bundle\Bundle;
32

33
/**
34
 * The Symfony bundle.
35
 *
36
 * @author Kévin Dunglas <dunglas@gmail.com>
37
 */
38
final class ApiPlatformBundle extends Bundle
39
{
40
    /**
41
     * {@inheritdoc}
42
     */
43
    public function build(ContainerBuilder $container): void
44
    {
45
        parent::build($container);
×
46

47
        $container->addCompilerPass(new DataProviderPass());
×
48
        // Run the compiler pass before the {@see ResolveInstanceofConditionalsPass} to allow autoconfiguration of generated filter definitions.
49
        $container->addCompilerPass(new AttributeFilterPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 101);
×
50
        $container->addCompilerPass(new AttributeResourcePass());
×
51
        $container->addCompilerPass(new FilterPass());
×
52
        $container->addCompilerPass(new ElasticsearchClientPass());
×
53
        $container->addCompilerPass(new GraphQlTypePass());
×
54
        $container->addCompilerPass(new GraphQlResolverPass());
×
55
        $container->addCompilerPass(new MetadataAwareNameConverterPass());
×
56
        $container->addCompilerPass(new TestClientPass());
×
57
        $container->addCompilerPass(new TestMercureHubPass());
×
58
        $container->addCompilerPass(new AuthenticatorManagerPass());
×
59
        $container->addCompilerPass(new SerializerMappingLoaderPass());
×
NEW
60
        $container->addCompilerPass(new ProfilerPass());
×
61
    }
62
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc