Total Complexity | 7 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class IdConverter extends Extractor implements ProvidesIdentifiersData |
||
8 | { |
||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $typeMap = [ |
||
13 | 'pmcid' => 'pmc', |
||
14 | 'pmid' => 'pubmed', |
||
15 | 'doi' => 'doi', |
||
16 | ]; |
||
17 | |||
18 | /** |
||
19 | * Extract search tree from document. |
||
20 | * |
||
21 | * @throws UnparseableApiException |
||
22 | */ |
||
23 | protected function fillSearchTree(): void |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Extract and format data needed for the Identifiers Relationship |
||
38 | * on the Publication Model. |
||
39 | */ |
||
40 | public function extractIdentifiersData(): void |
||
52 |