Метод | Описание | |
---|---|---|
getJsonApi ( ) : WoohooLabs\Yin\JsonApi\Schema\JsonApi | null | Provides information about the "jsonApi" section of the current document. | |
getLinks ( ) : WoohooLabs\Yin\JsonApi\Schema\Links | null | Provides information about the "links" section of the current document. | |
getMeta ( ) : array | Provides information about the "meta" section of the current document. |
Метод | Описание | |
---|---|---|
transformBaseContent ( array $additionalMeta = [] ) : array | ||
transformJsonApiContent ( array &$content ) | ||
transformLinksContent ( array &$content ) | ||
transformMetaContent ( array &$content, array $additionalMeta = [] ) |
abstract public getJsonApi ( ) : WoohooLabs\Yin\JsonApi\Schema\JsonApi | null | ||
Результат | WoohooLabs\Yin\JsonApi\Schema\JsonApi | null |
protected transformBaseContent ( array $additionalMeta = [] ) : array | ||
$additionalMeta | array | |
Результат | array |
protected transformJsonApiContent ( array &$content ) | ||
$content | array |
protected transformLinksContent ( array &$content ) | ||
$content | array |
protected transformMetaContent ( array &$content, array $additionalMeta = [] ) | ||
$content | array | |
$additionalMeta | array |