1 | <?php |
||
9 | class CrapMethodMerger implements CrapMethodFetcherInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var CrapMethodFetcherInterface |
||
13 | */ |
||
14 | private $file1; |
||
15 | /** |
||
16 | * @var CrapMethodFetcherInterface |
||
17 | */ |
||
18 | private $file2; |
||
19 | |||
20 | /** |
||
21 | * Merges methods from file 2 into methods from file 1 |
||
22 | * |
||
23 | * @param CrapMethodFetcherInterface $file1 |
||
24 | * @param CrapMethodFetcherInterface $file2 |
||
25 | */ |
||
26 | public function __construct(CrapMethodFetcherInterface $file1, CrapMethodFetcherInterface $file2) |
||
32 | |||
33 | /** |
||
34 | * Returns an array of method objects, indexed by method full name. |
||
35 | * |
||
36 | * @return Method[] |
||
37 | */ |
||
38 | public function getMethods(): array |
||
49 | } |
||
50 |