for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PubPeerFoundation\PublicationDataExtractor\Resources\Extractors;
use PubPeerFoundation\PublicationDataExtractor\Exceptions\JournalTitleNotFoundException;
class ChemRxiv extends Doi
{
/**
* Extract and format data needed for the Journals Relationship
* on the Publication Model.
*/
public function extractJournalData(): void
try {
parent::extractJournalData();
} catch (JournalTitleNotFoundException $e) {
$this->resourceOutput['journal'] = [
'title' => 'ChemRxiv',
];
}