| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function __construct(LoggerInterface $logger) |
||
| 15 | { |
||
| 16 | $this->setLog($logger); |
||
| 17 | |||
| 18 | $this->setConfig([ |
||
| 19 | 'prefix' => 'hey', |
||
| 20 | 'matchers' => [ |
||
| 21 | 'hey-thread' => [ |
||
| 22 | 'patterns' => ["/^thread\\s+(?'text'[^?].*)/"], |
||
| 23 | 'method' => 'thread', |
||
| 24 | ], |
||
| 25 | 'hey' => [ |
||
| 26 | 'patterns' => ["/^(?'text'[^?].*)/"], |
||
| 27 | ], |
||
| 28 | ], |
||
| 29 | ]); |
||
| 30 | } |
||
| 31 | |||
| 44 | } |