protected function getFileBasePath()
    {
        if ($this->type == self::TYPE_APP) {
            return Yii::$app->basePath;
        }
        
        return Yii::$app->getModule($this->moduleName)->getBasePath();
    }
protected function getFileBasePath()
    {
        if ($this->type == self::TYPE_APP) {
            return Yii::$app->basePath;
        }
        
        return Yii::$app->getModule($this->moduleName)->getBasePath();
    }
protected function getFileBasePath ( ) { if ( $ this -> type == self :: TYPE_APP ) { return Yii :: $ app -> basePath ; } return Yii :: $ app -> getModule ( $ this -> moduleName ) -> getBasePath ( ) ; }
Get the full base path to the folder of the module

@return string The full path to the module folder.
Get the full base path to the folder of the module