private function getConfigurationFiles()
    {
        $path = $this->configPath;

        if (!is_dir($path)) {
            return [];
        }

        $files = [];
        $phpFiles = Finder::create()->files()->name('*.php')->in($path)->depth(0);

        foreach ($phpFiles as $file) {
            $files[basename($file->getRealPath(), '.php')] = $file->getRealPath();
        }

        return $files;
    }
private function getConfigurationFiles()
    {
        $path = $this->configPath;

        if (!is_dir($path)) {
            return [];
        }

        $files = [];
        $phpFiles = Finder::create()->files()->name('*.php')->in($path)->depth(0);

        foreach ($phpFiles as $file) {
            $files[basename($file->getRealPath(), '.php')] = $file->getRealPath();
        }

        return $files;
    }
private function getConfigurationFiles ( ) { $ path = $ this -> configPath ; if ( ! is_dir ( $ path ) ) { return [ ] ; } $ files = [ ] ; $ phpFiles = Finder :: create ( ) -> files ( ) -> name ( '*.php' ) -> in ( $ path ) -> depth ( 0 ) ; foreach ( $ phpFiles as $ file ) { $ files [ basename ( $ file -> getRealPath ( ) , '.php' ) ] = $ file -> getRealPath ( ) ; } return $ files ; }
Get the configuration files for the selected environment.

@return array
Get the configuration files for the selected environment .