ContentTypeSnapshotExtension
trait ContentTypeSnapshotExtension
ContentTypeSnapshotExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Methods
getContentTypeSnapshot(string $spaceId, string $environmentId, string $contentTypeId, string $snapshotId)
Returns a ContentTypeSnapshot resource.
getContentTypeSnapshots(string $spaceId, string $environmentId, string $contentTypeId, Query $query = null)
Returns a ResourceArray object which contains ContentTypeSnapshot resources.
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
Details
at line 33
getContentTypeSnapshot(string $spaceId, string $environmentId, string $contentTypeId, string $snapshotId)
Returns a ContentTypeSnapshot resource.
at line 48
getContentTypeSnapshots(string $spaceId, string $environmentId, string $contentTypeId, Query $query = null)
Returns a ResourceArray object which contains ContentTypeSnapshot resources.