| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function extract ( string $extractorName, $input, array $options = [] ) : SourceWatcher |
||
| 15 | { |
||
| 16 | /* |
||
| 17 | * Since PHP 5.5, the class keyword is also used for class name resolution. |
||
| 18 | * You can get a string containing the fully qualified name of the ClassName class by using ClassName::class. |
||
| 19 | * This is particularly useful with namespaced classes. |
||
| 20 | * |
||
| 21 | * Coco\SourceWatcher\Core\Extractor, $extractorName |
||
| 22 | */ |
||
| 23 | |||
| 24 | $extractor = $this->stepLoader->step( Extractor::class, $extractorName ); |
||
| 25 | $extractor->setInput( $input ); |
||
|
|
|||
| 26 | $extractor->options( $options ); |
||
| 27 | |||
| 28 | return $this; |
||
| 29 | } |
||
| 41 |