Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class WeRespondFrom extends BaseReaction |
||
10 | { |
||
11 | 1 | public function weRespondFrom($callback, array $parameters = []) |
|
12 | { |
||
13 | 1 | $this->commit(func_get_args(), [static::class, 'respondFrom']); |
|
14 | |||
15 | 1 | return new Then($this); |
|
16 | } |
||
17 | |||
18 | public static function respondFrom($method) |
||
22 | 1 | }; |
|
23 | } |
||
24 | } |