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

lmc-eu / twigx-bundle / 4329044787

pending completion
4329044787

push

github

literat
Release 3.2.0

80 of 94 relevant lines covered (85.11%)

25.66 hits per line

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

100.0
/src/DependencyInjection/Configuration.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Lmc\TwigXBundle\DependencyInjection;
6

7
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
8
use Symfony\Component\Config\Definition\ConfigurationInterface;
9

10
class Configuration implements ConfigurationInterface
11
{
12
    public function getConfigTreeBuilder(): TreeBuilder
13
    {
14
        $treeBuilder = new TreeBuilder('twigx');
8✔
15
        $rootNode = $treeBuilder->getRootNode();
8✔
16

17
        $rootNode
6✔
18
            ->children()
8✔
19
            ->arrayNode('paths')
8✔
20
            ->scalarPrototype()->end()
8✔
21
            ->end()
8✔
22
            ->scalarNode('paths_alias')
8✔
23
            ->defaultValue(TwigXExtension::DEFAULT_PATH_ALIAS)
8✔
24
            ->end()
8✔
25
            ->end()
8✔
26
            ->end();
8✔
27

28
        return $treeBuilder;
8✔
29
    }
30
}
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