Environment
class Environment extends BaseResource
Properties
protected Client | $client | from BaseResource | |
protected SystemProperties | $sys | from BaseResource | |
protected Locale[] | $locales |
Methods
__construct(array $data)
Resources in this SDK should not be built using $new Class()
.
from BaseResource
Locale[]
getLocales()
No description
getDefaultLocale()
Returns the default locale for this space.
jsonSerialize()
{@inheritdoc}
Details
in BaseResource at line 36
protected
__construct(array $data)
Resources in this SDK should not be built using $new Class()
.
This method is only useful in testing environments, where the resource needs to be subclasses and this method made public.
in BaseResource at line 50
SystemProperties
getSystemProperties()
{@inheritdoc}
in BaseResource at line 58
asLink()
{@inheritdoc}
in BaseResource at line 69
getId()
{@inheritdoc}
in BaseResource at line 77
getType()
{@inheritdoc}
at line 22
Locale[]
getLocales()
at line 34
Locale
getLocale(string $code)
at line 55
Locale
getDefaultLocale()
Returns the default locale for this space.
at line 69
jsonSerialize()
{@inheritdoc}