EntryExtension
trait EntryExtension
EntryExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Traits
EntrySnapshotExtension trait.
Methods
getEntrySnapshot(string $spaceId, string $environmentId, string $entryId, string $snapshotId)
Returns an EntrySnapshot resource.
ResourceArray
getEntrySnapshots(string $spaceId, string $environmentId, string $entryId, Query $query = \null)
Returns a ResourceArray object which contains EntrySnapshot resources.
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
ResourceArray
getEntries(string $spaceId, string $environmentId, Query $query = \null)
Returns a ResourceArray object which contains Entry resources.
Details
in EntrySnapshotExtension at line 40
EntrySnapshot
getEntrySnapshot(string $spaceId, string $environmentId, string $entryId, string $snapshotId)
Returns an EntrySnapshot resource.
in EntrySnapshotExtension at line 62
ResourceArray
getEntrySnapshots(string $spaceId, string $environmentId, string $entryId, Query $query = \null)
Returns a ResourceArray object which contains EntrySnapshot resources.
at line 26
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
at line 41
Entry
getEntry(string $spaceId, string $environmentId, string $entryId)
Returns an Entry resource.
at line 61
ResourceArray
getEntries(string $spaceId, string $environmentId, Query $query = \null)
Returns a ResourceArray object which contains Entry resources.