Свойство | Тип | Описание | |
---|---|---|---|
$exceptionFactory | WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface | ||
$request | WoohooLabs\Yin\JsonApi\Request\RequestInterface | ||
$response | Psr\Http\Message\ResponseInterface | ||
$serializer | WoohooLabs\Yin\JsonApi\Serializer\SerializerInterface |
Метод | Описание | |
---|---|---|
__construct ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, Psr\Http\Message\ResponseInterface $response, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, WoohooLabs\Yin\JsonApi\Serializer\SerializerInterface $serializer ) |
Метод | Описание | |
---|---|---|
getDocumentMetaResponse ( |
||
getDocumentRelationshipMetaResponse ( string $relationshipName, |
||
getDocumentRelationshipResponse ( string $relationshipName, |
||
getDocumentResourceResponse ( |
||
getErrorResponse ( Psr\Http\Message\ResponseInterface $response, |
public __construct ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, Psr\Http\Message\ResponseInterface $response, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, WoohooLabs\Yin\JsonApi\Serializer\SerializerInterface $serializer ) | ||
$request | WoohooLabs\Yin\JsonApi\Request\RequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$exceptionFactory | WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface | |
$serializer | WoohooLabs\Yin\JsonApi\Serializer\SerializerInterface |
protected getDocumentMetaResponse ( |
||
$document | ||
$domainObject | mixed | |
$statusCode | integer | |
$additionalMeta | array | |
Результат | Psr\Http\Message\ResponseInterface |
protected getDocumentRelationshipMetaResponse ( string $relationshipName, |
||
$relationshipName | string | |
$document | ||
$domainObject | mixed | |
$statusCode | integer | |
$additionalMeta | array | |
Результат | Psr\Http\Message\ResponseInterface |
protected getDocumentRelationshipResponse ( string $relationshipName, |
||
$relationshipName | string | |
$document | ||
$domainObject | mixed | |
$statusCode | integer | |
$additionalMeta | array | |
Результат | Psr\Http\Message\ResponseInterface |
protected getDocumentResourceResponse ( |
||
$document | ||
$domainObject | mixed | |
$statusCode | integer | |
$additionalMeta | array | |
Результат | Psr\Http\Message\ResponseInterface |
protected getErrorResponse ( Psr\Http\Message\ResponseInterface $response, |
||
$response | Psr\Http\Message\ResponseInterface | |
$document | ||
$errors | array | |
$statusCode | integer | |
$additionalMeta | array | |
Результат | Psr\Http\Message\ResponseInterface | $response |
protected ExceptionFactoryInterface,WoohooLabs\Yin\JsonApi\Exception $exceptionFactory | ||
Результат | WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface |
protected RequestInterface,WoohooLabs\Yin\JsonApi\Request $request | ||
Результат | WoohooLabs\Yin\JsonApi\Request\RequestInterface |
protected ResponseInterface,Psr\Http\Message $response | ||
Результат | Psr\Http\Message\ResponseInterface |