| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Arxiv extends Identifier |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var array |
||
| 9 | */ |
||
| 10 | protected $resources = [ |
||
| 11 | \PubPeerFoundation\PublicationDataExtractor\Resources\Arxiv::class, |
||
| 12 | ]; |
||
| 13 | |||
| 14 | /** |
||
| 15 | 4 | * @var string |
|
| 16 | */ |
||
| 17 | 4 | protected $regex = '/\d{2}(0|1)[0-9]\.\d{4,5}(v|V)?(\d)?/'; |
|
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $baseUrl = 'https://arxiv.org/abs/'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get the query string. |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getQueryString() |
||
| 34 |