AssetExtension
trait AssetExtension
AssetExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Methods
getAsset(string $spaceId, string $environmentId, string $assetId)
Returns an Asset resource.
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
Details
at line 33
getAsset(string $spaceId, string $environmentId, string $assetId)
Returns an Asset resource.
at line 47
getAssets(string $spaceId, string $environmentId, Query $query = null)
Returns a ResourceArray object which contains Asset resources.