| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 33 | public function configure() |
||
| 34 | { |
||
| 35 | $registry = new DefaultMatcherRegistry(); |
||
| 36 | |||
| 37 | $packageRegistrar = new DefaultPackageRegistrar(); |
||
| 38 | $packageRegistrar->registerTo($registry); |
||
| 39 | |||
| 40 | $dictionary = $registry->toDictionary(); |
||
| 41 | $matcherFactory = new DefaultMatcherFactory($dictionary); |
||
| 42 | |||
| 43 | return new DefaultContextFactory($matcherFactory, new ExceptionReporter()); |
||
| 44 | } |
||
| 45 | } |
||
| 46 |