protected function validateClientGeneratedId(
        string $clientGeneratedId,
        JsonApiRequestInterface $request,
        ExceptionFactoryInterface $exceptionFactory
    ) {
        if ($clientGeneratedId !== null) {
            throw $exceptionFactory->createClientGeneratedIdNotSupportedException($request, $clientGeneratedId);
        }
    }
protected function validateClientGeneratedId(
        string $clientGeneratedId,
        JsonApiRequestInterface $request,
        ExceptionFactoryInterface $exceptionFactory
    ) {
        if ($clientGeneratedId !== null) {
            throw $exceptionFactory->createClientGeneratedIdNotSupportedException($request, $clientGeneratedId);
        }
    }
protected function validateClientGeneratedId ( string $ clientGeneratedId , JsonApiRequestInterface $ request , ExceptionFactoryInterface $ exceptionFactory ) { if ( $ clientGeneratedId !== null ) { throw $ exceptionFactory -> createClientGeneratedIdNotSupportedException ( $ request , $ clientGeneratedId ) ; } }
Validates a client-generated ID.

If the $clientGeneratedId is not a valid ID for the domain object, then
the appropriate exception should be thrown: if it is not well-formed then
a ClientGeneratedIdNotSupported exception can be raised, if the ID already
exists then a ClientGeneratedIdAlreadyExists exception can be thrown.

@throws ClientGeneratedIdNotSupported|JsonApiExceptionInterface
@throws ClientGeneratedIdAlreadyExists|JsonApiExceptionInterface
Validates a client - generated ID .