EntryProxyExtension
trait EntryProxyExtension
EntryProxyExtension trait.
This trait is an extension to the Entry resource class. It is built here and included as a trait to better separate concerns. This trait provides shortcuts for fetching resources that belong to an entry.
Properties
Client | $client |
Methods
Returns the ID associated to the current space.
Returns the ID associated to the current environment.
Returns the ID associated to the current entry.
Returns a EntrySnapshot resource.
Returns a ResourceArray object which contains EntrySnapshot resources.
Details
at line 35
abstract protected string
getSpaceId()
Returns the ID associated to the current space.
at line 42
abstract protected string
getEnvironmentId()
Returns the ID associated to the current environment.
at line 49
abstract protected string
getEntryId()
Returns the ID associated to the current entry.
at line 56
getSnapshot(string $snapshotId)
Returns a EntrySnapshot resource.
at line 71
getSnapshots(Query $query = null)
Returns a ResourceArray object which contains EntrySnapshot resources.