Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/translation/Extractor/AbstractFileExtractor.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
19 * @author Marcos D. Sánchez <marcosdsanchez@gmail.com> | 19 * @author Marcos D. Sánchez <marcosdsanchez@gmail.com> |
20 */ | 20 */ |
21 abstract class AbstractFileExtractor | 21 abstract class AbstractFileExtractor |
22 { | 22 { |
23 /** | 23 /** |
24 * @param string|array $resource files, a file or a directory | 24 * @param string|array $resource Files, a file or a directory |
25 * | 25 * |
26 * @return array | 26 * @return array |
27 */ | 27 */ |
28 protected function extractFiles($resource) | 28 protected function extractFiles($resource) |
29 { | 29 { |
75 * @return bool | 75 * @return bool |
76 */ | 76 */ |
77 abstract protected function canBeExtracted($file); | 77 abstract protected function canBeExtracted($file); |
78 | 78 |
79 /** | 79 /** |
80 * @param string|array $resource files, a file or a directory | 80 * @param string|array $resource Files, a file or a directory |
81 * | 81 * |
82 * @return array files to be extracted | 82 * @return array files to be extracted |
83 */ | 83 */ |
84 abstract protected function extractFromDirectory($resource); | 84 abstract protected function extractFromDirectory($resource); |
85 } | 85 } |