Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/class-loader/ClassMapGenerator.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 | 7a779792577d |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
9 * file that was distributed with this source code. | 9 * file that was distributed with this source code. |
10 */ | 10 */ |
11 | 11 |
12 namespace Symfony\Component\ClassLoader; | 12 namespace Symfony\Component\ClassLoader; |
13 | 13 |
14 @trigger_error('The '.__NAMESPACE__.'\ClassMapGenerator class is deprecated since Symfony 3.3 and will be removed in 4.0. Use Composer instead.', E_USER_DEPRECATED); | |
15 | |
14 /** | 16 /** |
15 * ClassMapGenerator. | 17 * ClassMapGenerator. |
16 * | 18 * |
17 * @author Gyula Sallai <salla016@gmail.com> | 19 * @author Gyula Sallai <salla016@gmail.com> |
20 * | |
21 * @deprecated since version 3.3, to be removed in 4.0. | |
18 */ | 22 */ |
19 class ClassMapGenerator | 23 class ClassMapGenerator |
20 { | 24 { |
21 /** | 25 /** |
22 * Generate a class map file. | 26 * Generate a class map file. |
56 continue; | 60 continue; |
57 } | 61 } |
58 | 62 |
59 $path = $file->getRealPath() ?: $file->getPathname(); | 63 $path = $file->getRealPath() ?: $file->getPathname(); |
60 | 64 |
61 if (pathinfo($path, PATHINFO_EXTENSION) !== 'php') { | 65 if ('php' !== pathinfo($path, PATHINFO_EXTENSION)) { |
62 continue; | 66 continue; |
63 } | 67 } |
64 | 68 |
65 $classes = self::findClasses($path); | 69 $classes = self::findClasses($path); |
66 | 70 |