LocaleExtension
trait LocaleExtension
LocaleExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Methods
getLocale(string $spaceId, string $environmentId, string $localeId)
Returns a Locale resource.
getLocales(string $spaceId, string $environmentId)
Returns a ResourceArray object containing Locale resources.
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
Details
at line 33
getLocale(string $spaceId, string $environmentId, string $localeId)
Returns a Locale resource.
at line 47
getLocales(string $spaceId, string $environmentId)
Returns a ResourceArray object containing Locale resources.