| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class EngineBuilder |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var FilterInterface |
||
| 20 | */ |
||
| 21 | private $filter; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var RunnerInterface |
||
| 25 | */ |
||
| 26 | private $runner; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var bool |
||
| 30 | */ |
||
| 31 | private $ignoreUnknownAnnotations = false; |
||
| 32 | |||
| 33 | public function setIgnoreUnknownAnnotations($flag = true) |
||
| 36 | } |
||
| 37 | |||
| 38 | public function setFilter(FilterInterface $filter): self |
||
| 39 | { |
||
| 40 | $this->filter = $filter; |
||
| 41 | return $this; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function setRunner(RunnerInterface $runner): self |
||
| 48 | } |
||
| 49 | |||
| 50 | public function buildEngine(): Engine |
||
| 62 | ) |
||
| 63 | ); |
||
| 66 |