Neomerx\JsonApi\Contracts\Schema\SchemaFactoryInterface::createIdentitySchema PHP Method

createIdentitySchema() public method

Create schema for identity objects.
public createIdentitySchema ( Neomerx\JsonApi\Contracts\Schema\ContainerInterface $container, string $classType, Closure $identityClosure ) : Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface
$container Neomerx\JsonApi\Contracts\Schema\ContainerInterface
$classType string
$identityClosure Closure function($resource) : string
return Neomerx\JsonApi\Contracts\Schema\SchemaProviderInterface
    public function createIdentitySchema(ContainerInterface $container, $classType, Closure $identityClosure);