public function getMappingFiles($path) { $files = $this->files->glob($path . '/*_*.php'); if ($files === false) { return []; } $files = array_map(function ($file) { return str_replace('.php', '', basename($file)); }, $files); return $files; }