lib/gii/cascadeTypeModule/Generator.php
public function getBaseNamespace()
    {
        if (!empty($this->moduleSet) && isset(Yii::$app->extensions[$this->moduleSet])) {
            $bsClass = Yii::$app->extensions[$this->moduleSet]['bootstrap'];
            $bsReflector = new \ReflectionClass(new $bsClass());

            return $bsReflector->getNamespaceName();
        }

        return 'cascade\modules';
    }
public function getBaseNamespace()
    {
        if (!empty($this->moduleSet) && isset(Yii::$app->extensions[$this->moduleSet])) {
            $bsClass = Yii::$app->extensions[$this->moduleSet]['bootstrap'];
            $bsReflector = new \ReflectionClass(new $bsClass());

            return $bsReflector->getNamespaceName();
        }

        return 'cascade\modules';
    }
public function getBaseNamespace ( ) { if ( ! empty ( $ this -> moduleSet ) && isset ( Yii :: $ app -> extensions [ $ this -> moduleSet ] ) ) { $ bsClass = Yii :: $ app -> extensions [ $ this -> moduleSet ] [ 'bootstrap' ] ; $ bsReflector = new \ ReflectionClass ( new $ bsClass ( ) ) ; return $ bsReflector -> getNamespaceName ( ) ; } return 'cascade\modules' ; }
Get base namespace.

@return [[@doctodo return_type:getBaseNamespace]] [[@doctodo return_description:getBaseNamespace]]
Get base namespace .