| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Engine |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var Parser |
||
| 17 | */ |
||
| 18 | private $parser; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var ExampleFactory |
||
| 22 | */ |
||
| 23 | private $exampleFactory; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var ExampleTester |
||
| 27 | */ |
||
| 28 | private $tester; |
||
| 29 | |||
| 30 | public function __construct(Parser $parser, ExampleFactory $exampleFactory, ExampleTester $tester) |
||
| 35 | } |
||
| 36 | |||
| 37 | public function registerListener(ListenerInterface $listener): void |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Test examples in file |
||
| 44 | */ |
||
| 45 | public function testFile(string $contents): void |
||
| 52 |