src/Hypermedia/ContextBuilder.php 1 location
|
@@ 54-60 (lines=7) @@
|
| 51 |
|
/** |
| 52 |
|
* {@inheritdoc} |
| 53 |
|
*/ |
| 54 |
|
public function getBaseContext(int $referenceType = UrlGeneratorInterface::ABS_URL) : array |
| 55 |
|
{ |
| 56 |
|
return [ |
| 57 |
|
'@vocab' => $this->urlGenerator->generate('api_hydra_doc', [], UrlGeneratorInterface::ABS_URL).'#', |
| 58 |
|
'hydra' => self::HYDRA_NS, |
| 59 |
|
]; |
| 60 |
|
} |
| 61 |
|
|
| 62 |
|
/** |
| 63 |
|
* {@inheritdoc} |
src/JsonLd/ContextBuilder.php 1 location
|
@@ 55-61 (lines=7) @@
|
| 52 |
|
/** |
| 53 |
|
* {@inheritdoc} |
| 54 |
|
*/ |
| 55 |
|
public function getBaseContext(int $referenceType = UrlGeneratorInterface::ABS_URL) : array |
| 56 |
|
{ |
| 57 |
|
return [ |
| 58 |
|
'@vocab' => $this->urlGenerator->generate('api_hydra_doc', [], UrlGeneratorInterface::ABS_URL).'#', |
| 59 |
|
'hydra' => self::HYDRA_NS, |
| 60 |
|
]; |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
/** |
| 64 |
|
* {@inheritdoc} |