Space
class Space implements JsonSerializable
The Space class represents a single space identified by it's ID and holding some metadata.
Methods
string
getName()
Returns the name of this space.
Locale[]
getLocales()
Returns the list of all locales supported by this Space.
getDefaultLocale()
Returns the default locale for this space.
string|null
getId()
Returns the id of this space.
object
jsonSerialize()
Returns an object to be used by json_encode to serialize objects of this class.
Details
at line 41
__construct(string $name, array $locales, SystemProperties $sys)
Space constructor.
at line 60
string
getName()
Returns the name of this space.
at line 70
Locale[]
getLocales()
Returns the list of all locales supported by this Space.
at line 80
Locale
getDefaultLocale()
Returns the default locale for this space.
at line 90
string|null
getId()
Returns the id of this space.
at line 102
object
jsonSerialize()
Returns an object to be used by json_encode to serialize objects of this class.