Mechanism to provide exclusive access to a shared resource.
https://webconcepts.info/specs/IETF/RFC/4918
GET /users/{uuid}/lock
POST /users/{uuid}/lock
PUT /users/{uuid}/lock
DELETE /users/{uuid}/lock
/**
* Creates a resource metadata value object.
*
* @author Kévin Dunglas <dunglas@gmail.com>
*/
interface ResourceMetadataFactoryInterface
{
/**
* Creates a resource metadata.
*
* @throws ResourceClassNotFoundException
*/
public function create(string $resourceClass): ResourceMetadata;
}
Open API
With a NormalizerInterface