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 49
                            
    __construct(string $name, array $locales, SystemProperties $sys)
        
    
    Space constructor.
        at         line 68
                            string
    getName()
        
    
    Returns the name of this space.
        at         line 78
                            Locale[]
    getLocales()
        
    
    Returns the list of all locales supported by this Space.
        at         line 90
                            Locale
    getLocale($localeCode)
        
    
    
        at         line 104
                            Locale
    getDefaultLocale()
        
    
    Returns the default locale for this space.
        at         line 114
                            string|null
    getId()
        
    
    Returns the id of this space.
        at         line 126
                            object
    jsonSerialize()
        
    
    Returns an object to be used by json_encode to serialize objects of this class.