private function getModuleProviders()
    {
        $defaultProviders = [
            'vegas-cmf'
        ];

        $appConfig = $this->di->get('config')->application;
        if (!isset($appConfig->vendorModuleProvider)) {
            $providerNames = [];
        } else if (is_string($appConfig->vendorModuleProvider)) {
            $providerNames = [$appConfig->vendorModuleProvider];
        } else {
            $providerNames = $appConfig->vendorModuleProvider->toArray();
        }

        return array_unique(array_merge($defaultProviders, $providerNames));
    }
private function getModuleProviders()
    {
        $defaultProviders = [
            'vegas-cmf'
        ];

        $appConfig = $this->di->get('config')->application;
        if (!isset($appConfig->vendorModuleProvider)) {
            $providerNames = [];
        } else if (is_string($appConfig->vendorModuleProvider)) {
            $providerNames = [$appConfig->vendorModuleProvider];
        } else {
            $providerNames = $appConfig->vendorModuleProvider->toArray();
        }

        return array_unique(array_merge($defaultProviders, $providerNames));
    }
private function getModuleProviders ( ) { $ defaultProviders = [ 'vegas-cmf' ] ; $ appConfig = $ this -> di -> get ( 'config' ) -> application ; if ( ! isset ( $ appConfig -> vendorModuleProvider ) ) { $ providerNames = [ ] ; } else if ( is_string ( $ appConfig -> vendorModuleProvider ) ) { $ providerNames = [ $ appConfig -> vendorModuleProvider ] ; } else { $ providerNames = $ appConfig -> vendorModuleProvider -> toArray ( ) ; } return array_unique ( array_merge ( $ defaultProviders , $ providerNames ) ) ; }
Get available module providers - default is vegas-cmf.
Additional providers can be placed under application->vendorModuleProvider key in config file.
Value of the key can be either a string with name or an array with multiple names.

@return array
Get available module providers - default is vegas - cmf . Additional providers can be placed under application - > vendorModuleProvider key in config file . Value of the key can be either a string with name or an array with multiple names .