This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $dir = __DIR__; // directorio base para buscar | |
| $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($dir)); | |
| $translationKeys = []; // claves de traducción utilizadas en el código | |
| foreach ($files as $file) { | |
| if ($file->getExtension() !== 'php' || strpos($file->getPathname(), 'vendor') !== false) { | |
| continue; |