Method | Description | |
---|---|---|
hydrate ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, mixed $domainObject ) : mixed | Hydrates the domain object from the request based on the request method. | |
hydrateRelationship ( string $relationship, WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, mixed $domainObject ) : mixed |
public hydrate ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, mixed $domainObject ) : mixed | ||
$request | WoohooLabs\Yin\JsonApi\Request\RequestInterface | |
$exceptionFactory | WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface | |
$domainObject | mixed | |
return | mixed |
public hydrateRelationship ( string $relationship, WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, mixed $domainObject ) : mixed | ||
$relationship | string | |
$request | WoohooLabs\Yin\JsonApi\Request\RequestInterface | |
$exceptionFactory | WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface | |
$domainObject | mixed | |
return | mixed |