private function getConfiguredDependencies($moduleName)
    {
        $config = $this->getModuleConfig($moduleName);

        if (!isset($config['depends'])) {
            return [];
        }

        return is_array($config['depends']) ? $config['depends'] : [$config['depends']];
    }
private function getConfiguredDependencies($moduleName)
    {
        $config = $this->getModuleConfig($moduleName);

        if (!isset($config['depends'])) {
            return [];
        }

        return is_array($config['depends']) ? $config['depends'] : [$config['depends']];
    }
private function getConfiguredDependencies ( $ moduleName ) { $ config = $ this -> getModuleConfig ( $ moduleName ) ; if ( ! isset ( $ config [ 'depends' ] ) ) { return [ ] ; } return is_array ( $ config [ 'depends' ] ) ? $ config [ 'depends' ] : [ $ config [ 'depends' ] ] ; }
Get the configured dependencies for a module.

@param string $moduleName
@return array
Get the configured dependencies for a module .