| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Arxiv extends Resource |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $url = 'http://export.arxiv.org/api/query'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $queryStringParameters = [ |
||
| 18 | 'query' => [ |
||
| 19 | 'id_list' => '', |
||
| 20 | ], |
||
| 21 | ]; |
||
| 22 | 2 | ||
| 23 | /** |
||
| 24 | 2 | * @return array |
|
| 25 | 2 | */ |
|
| 26 | public function getRequestOptions(): array |
||
| 31 | } |
||
| 32 | 1 | ||
| 33 | /** |
||
| 34 | * @param string $document |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function getDataFrom(string $document): array |
||
| 49 |