1 | <?php |
||
8 | class ExtractorChain implements ExtractionInterface |
||
9 | { |
||
10 | /** @var ExtractionInterface[] */ |
||
11 | private $extractors = []; |
||
12 | |||
13 | /** @var bool */ |
||
14 | private $mergeRecursively; |
||
15 | |||
16 | /** |
||
17 | * PendoOptionsProviderChain constructor. |
||
18 | * @param ExtractionInterface[] $extractors |
||
19 | * @param bool $mergeRecursively |
||
20 | */ |
||
21 | public function __construct(array $extractors = [], $mergeRecursively = true) |
||
26 | |||
27 | /** |
||
28 | * @param ExtractionInterface $extractor |
||
29 | */ |
||
30 | private function addExtractor(ExtractionInterface $extractor) |
||
34 | |||
35 | /** |
||
36 | * @return mixed[] |
||
37 | * @throws \Abacaphiliac\Extractor\Exception\UnexpectedValueException |
||
38 | */ |
||
39 | public function extract() |
||
76 | } |
||
77 |