protected function getConfigurationFiles($directoryPath)
    {
        $files = [];

        if (is_dir($directoryPath)) {
            foreach (Finder::create()->files()->in($directoryPath) as $file) {
                $group = basename($file->getRealPath(), '.php');
                $files[$group] = $file->getRealPath();
            }
        }

        return $files;
    }
protected function getConfigurationFiles($directoryPath)
    {
        $files = [];

        if (is_dir($directoryPath)) {
            foreach (Finder::create()->files()->in($directoryPath) as $file) {
                $group = basename($file->getRealPath(), '.php');
                $files[$group] = $file->getRealPath();
            }
        }

        return $files;
    }
protected function getConfigurationFiles ( $ directoryPath ) { $ files = [ ] ; if ( is_dir ( $ directoryPath ) ) { foreach ( Finder :: create ( ) -> files ( ) -> in ( $ directoryPath ) as $ file ) { $ group = basename ( $ file -> getRealPath ( ) , '.php' ) ; $ files [ $ group ] = $ file -> getRealPath ( ) ; } } return $ files ; }
Get all of the configuration files for the directory.

@param string $directoryPath

@return array
Get all of the configuration files for the directory .