메소드 | 설명 | |
---|---|---|
transformRelationship ( string $relationshipName, |
Transforms a relationship with a name of $relationshipName of the original resource to a JSON API relationship. | |
transformToResource ( |
Transforms the original resource to a JSON API resource. | |
transformToResourceIdentifier ( mixed $domainObject ) : array | null | Transforms the original resource to a JSON API resource identifier. |
메소드 | 설명 | |
---|---|---|
transformAttributes ( |
||
transformAttributesObject ( array &$array, |
||
transformLinksObject ( array &$array, mixed $domainObject ) | ||
transformRelationshipObject ( |
||
transformRelationships ( |
||
transformRelationshipsObject ( array &$array, |
||
validateRelationships ( |
protected transformAttributesObject ( array &$array, |
||
$array | array | |
$transformation | ||
$domainObject | mixed |
protected transformLinksObject ( array &$array, mixed $domainObject ) | ||
$array | array | |
$domainObject | mixed |
protected transformRelationshipObject ( |
||
$transformation | ||
$domainObject | mixed | |
$relationshipName | string | |
$relationships | array | |
$defaultRelationships | array | |
$additionalMeta | array | |
리턴 | array | null |
protected transformRelationshipsObject ( array &$array, |
||
$array | array | |
$transformation | ||
$domainObject | mixed |
public transformToResource ( |
||
$transformation | ||
$domainObject | mixed | |
리턴 | array |
protected validateRelationships ( |
||
$transformation | ||
$relationships | array |