| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1.0003 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | 1 | public function getConfigTreeBuilder() |
|
| 23 | { |
||
| 24 | $builder = new TreeBuilder(); |
||
| 25 | 1 | $builder->root('anime_db_pagination') |
|
| 26 | 1 | ->addDefaultsIfNotSet() |
|
| 27 | 1 | ->children() |
|
| 28 | 1 | ->scalarNode('max_navigate') |
|
| 29 | 1 | ->defaultValue(5) |
|
| 30 | 1 | ->end() |
|
| 31 | 1 | ->scalarNode('template') |
|
| 32 | 1 | ->defaultValue('AnimeDbPaginationBundle::pagination.html.twig') |
|
| 33 | 1 | ->end() |
|
| 34 | 1 | ->end() |
|
| 35 | 1 | ; |
|
| 36 | |||
| 37 | 1 | return $builder; |
|
| 38 | } |
||
| 39 | } |
||
| 40 |