Method | Description | |
---|---|---|
__construct ( Neomerx\JsonApi\Contracts\Schema\SchemaFactoryInterface $factory, Neomerx\JsonApi\Contracts\Schema\ContainerInterface $container, string $classType, Closure $identityClosure ) | ||
getAttributes ( $resource ) | ||
getId ( $resource ) | ||
getRelationships ( $resource, $isPrimary, array $includeRelationships ) |
public __construct ( Neomerx\JsonApi\Contracts\Schema\SchemaFactoryInterface $factory, Neomerx\JsonApi\Contracts\Schema\ContainerInterface $container, string $classType, Closure $identityClosure ) | ||
$factory | Neomerx\JsonApi\Contracts\Schema\SchemaFactoryInterface | |
$container | Neomerx\JsonApi\Contracts\Schema\ContainerInterface | |
$classType | string | |
$identityClosure | Closure | function($resource) : string |
public getRelationships ( $resource, $isPrimary, array $includeRelationships ) | ||
$includeRelationships | array |