comparison vendor/symfony/class-loader/ClassLoader.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
8 * For the full copyright and license information, please view the LICENSE 8 * For the full copyright and license information, please view the LICENSE
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
14 @trigger_error('The '.__NAMESPACE__.'\ClassLoader class is deprecated since Symfony 3.3 and will be removed in 4.0. Use Composer instead.', E_USER_DEPRECATED);
13 15
14 /** 16 /**
15 * ClassLoader implements an PSR-0 class loader. 17 * ClassLoader implements an PSR-0 class loader.
16 * 18 *
17 * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md 19 * See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
34 * directory, and it will then fallback to the framework/ directory if not 36 * directory, and it will then fallback to the framework/ directory if not
35 * found before giving up. 37 * found before giving up.
36 * 38 *
37 * @author Fabien Potencier <fabien@symfony.com> 39 * @author Fabien Potencier <fabien@symfony.com>
38 * @author Jordi Boggiano <j.boggiano@seld.be> 40 * @author Jordi Boggiano <j.boggiano@seld.be>
41 *
42 * @deprecated since version 3.3, to be removed in 4.0.
39 */ 43 */
40 class ClassLoader 44 class ClassLoader
41 { 45 {
42 private $prefixes = array(); 46 private $prefixes = array();
43 private $fallbackDirs = array(); 47 private $fallbackDirs = array();