Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ApiPlatform
Core
JsonLd
Serializer
JsonLdContextTrait
PHP Trait ApiPlatform\Core\JsonLd\Serializer\JsonLdContextTrait
Author:
Kévin Dunglas (
[email protected]
)
Show file
Open project: api-platform/core
Private Methods
Method
Description
addJsonLdContext
(
ApiPlatform\Core\JsonLd\ContextBuilderInterface
$contextBuilder
,
string
$resourceClass
,
array
&
$context
,
array
$data
= [] ) :
array
Updates the given JSON-LD document to add its @context key.