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