| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 16 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 1 | public function load(ServiceContainer $container, array $params) |
|
| 21 | { |
||
| 22 | 1 | $container->define( |
|
| 23 | 1 | 'matchers.takeMoreThan', |
|
| 24 | static function (IndexedServiceContainer $c) { |
||
| 25 | 1 | return new TakeMoreThanMatcher($c->get('unwrapper'), $c->get('formatter.presenter'), new Ubench()); |
|
| 26 | 1 | }, |
|
| 27 | 1 | ['matchers'] |
|
| 28 | ); |
||
| 29 | |||
| 30 | 1 | $container->define( |
|
| 31 | 1 | 'matchers.takeLessThan', |
|
| 32 | static function (IndexedServiceContainer $c) { |
||
| 33 | 1 | return new TakeLessThanMatcher($c->get('unwrapper'), $c->get('formatter.presenter'), new Ubench()); |
|
| 34 | 1 | }, |
|
| 35 | 1 | ['matchers'] |
|
| 36 | ); |
||
| 37 | |||
| 38 | 1 | $container->define( |
|
| 39 | 1 | 'matchers.takeInBetween', |
|
| 40 | static function (IndexedServiceContainer $c) { |
||
| 41 | 1 | return new TakeInBetweenMatcher($c->get('unwrapper'), $c->get('formatter.presenter'), new Ubench()); |
|
| 42 | 1 | }, |
|
| 43 | 1 | ['matchers'] |
|
| 44 | ); |
||
| 47 |