public function getDomain($name)
    {
        if (isset($this->domainMap[$name])) {
            return $this->domainMap[$name];
        }

        return null;
    }
public function getDomain($name)
    {
        if (isset($this->domainMap[$name])) {
            return $this->domainMap[$name];
        }

        return null;
    }
public function getDomain ( $ name ) { if ( isset ( $ this -> domainMap [ $ name ] ) ) { return $ this -> domainMap [ $ name ] ; } return null ; }
Returns the already configured domain object by its name.

@param  string $name
@return Domain
Returns the already configured domain object by its name .