comparison vendor/symfony/class-loader/Psr4ClassLoader.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
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__.'\Psr4ClassLoader class is deprecated since Symfony 3.3 and will be removed in 4.0. Use Composer instead.', E_USER_DEPRECATED);
15
14 /** 16 /**
15 * A PSR-4 compatible class loader. 17 * A PSR-4 compatible class loader.
16 * 18 *
17 * See http://www.php-fig.org/psr/psr-4/ 19 * See http://www.php-fig.org/psr/psr-4/
18 * 20 *
19 * @author Alexander M. Turek <me@derrabus.de> 21 * @author Alexander M. Turek <me@derrabus.de>
22 *
23 * @deprecated since version 3.3, to be removed in 4.0.
20 */ 24 */
21 class Psr4ClassLoader 25 class Psr4ClassLoader
22 { 26 {
23 /**
24 * @var array
25 */
26 private $prefixes = array(); 27 private $prefixes = array();
27 28
28 /** 29 /**
29 * @param string $prefix 30 * @param string $prefix
30 * @param string $baseDir 31 * @param string $baseDir