src/Genesis/Config.php
public static function getSubDomain($sub)
    {
        if (isset(self::$domains[$sub])) {
            return self::$domains[$sub][self::getEnvironment()];
        }

        return null;
    }
public static function getSubDomain($sub)
    {
        if (isset(self::$domains[$sub])) {
            return self::$domains[$sub][self::getEnvironment()];
        }

        return null;
    }
public static function getSubDomain ( $ sub ) { if ( isset ( self :: $ domains [ $ sub ] ) ) { return self :: $ domains [ $ sub ] [ self :: getEnvironment ( ) ] ; } return null ; }
Get a sub-domain host based on the environment

@see self::$domains

@param $sub
@return string

@throws Exceptions\EnvironmentNotSet
Get a sub - domain host based on the environment