src/Codeception/Module/Yii1.php
public function getInternalDomains()
    {
        $domains = [$this->getDomainRegex(Yii::app()->request->getHostInfo())];
        if (Yii::app()->urlManager->urlFormat === 'path') {
            $parent = Yii::app()->urlManager instanceof \CUrlManager ? '\CUrlManager' : null;
            $rules = ReflectionHelper::readPrivateProperty(Yii::app()->urlManager, '_rules', $parent);
            foreach ($rules as $rule) {
                if ($rule->hasHostInfo === true) {
                    $domains[] = $this->getDomainRegex($rule->template, $rule->params);
                }
            }
        }
        return array_unique($domains);
    }
public function getInternalDomains()
    {
        $domains = [$this->getDomainRegex(Yii::app()->request->getHostInfo())];
        if (Yii::app()->urlManager->urlFormat === 'path') {
            $parent = Yii::app()->urlManager instanceof \CUrlManager ? '\CUrlManager' : null;
            $rules = ReflectionHelper::readPrivateProperty(Yii::app()->urlManager, '_rules', $parent);
            foreach ($rules as $rule) {
                if ($rule->hasHostInfo === true) {
                    $domains[] = $this->getDomainRegex($rule->template, $rule->params);
                }
            }
        }
        return array_unique($domains);
    }
public function getInternalDomains ( ) { $ domains = [ $ this -> getDomainRegex ( Yii :: app ( ) -> request -> getHostInfo ( ) ) ] ; if ( Yii :: app ( ) -> urlManager -> urlFormat === 'path' ) { $ parent = Yii :: app ( ) -> urlManager instanceof \ CUrlManager ? '\CUrlManager' : null ; $ rules = ReflectionHelper :: readPrivateProperty ( Yii :: app ( ) -> urlManager , '_rules' , $ parent ) ; foreach ( $ rules as $ rule ) { if ( $ rule -> hasHostInfo === true ) { $ domains [ ] = $ this -> getDomainRegex ( $ rule -> template , $ rule -> params ) ; } } } return array_unique ( $ domains ) ; }
Returns a list of regex patterns for recognized domain names

@return array
Returns a list of regex patterns for recognized domain names