src/Model/Locale.php
public function getDomain()
    {
        if (FluentState::singleton()->getIsDomainMode() && $this->DomainID) {
            return Domain::getCached()->byID($this->DomainID);
        }
        return null;
    }
public function getDomain()
    {
        if (FluentState::singleton()->getIsDomainMode() && $this->DomainID) {
            return Domain::getCached()->byID($this->DomainID);
        }
        return null;
    }
public function getDomain ( ) { if ( FluentState :: singleton ( ) -> getIsDomainMode ( ) && $ this -> DomainID ) { return Domain :: getCached ( ) -> byID ( $ this -> DomainID ) ; } return null ; }
Get domain if in domain mode

@return Domain|null Domain found, or null if not in domain mode (or no domain)
Get domain if in domain mode