abstract class AbstractFileExtractor
Base class used by classes that extract translation messages from files.
array | extractFiles(string|array $resource) | |
bool | isFile(string $file) | |
bool | canBeExtracted(string $file) | |
array | extractFromDirectory(string|array $resource) |
string|array | $resource | Files, a file or a directory |
array |
string | $file |
bool |
InvalidArgumentException |
string | $file |
bool |
string|array | $resource | Files, a file or a directory |
array | files to be extracted |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Translation/Extractor/AbstractFileExtractor.html