| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Figshare extends Doi |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Extract and format data needed for the Journals Relationship |
||
| 11 | * on the Publication Model. |
||
| 12 | */ |
||
| 13 | public function extractJournalData(): void |
||
| 14 | { |
||
| 15 | try { |
||
| 16 | parent::extractJournalData(); |
||
| 17 | } catch (JournalTitleNotFoundException $e) { |
||
| 18 | $this->resourceOutput['journal'] = [ |
||
| 19 | 'title' => 'Figshare', |
||
| 20 | ]; |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Extract and format data needed for the Publication Model. |
||
| 26 | */ |
||
| 27 | public function extractPublicationData(): void |
||
| 33 | } |
||
| 34 | } |
||
| 36 |