Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / class-loader / MapClassLoader.php
index 1d8bcc2a026b226cb8077ca85a011e75e89a161b..7b0dbba43e213f0688a8ffdf8a1d8493b4246986 100644 (file)
 
 namespace Symfony\Component\ClassLoader;
 
+@trigger_error('The '.__NAMESPACE__.'\MapClassLoader class is deprecated since Symfony 3.3 and will be removed in 4.0. Use Composer instead.', E_USER_DEPRECATED);
+
 /**
  * A class loader that uses a mapping file to look up paths.
  *
  * @author Fabien Potencier <fabien@symfony.com>
+ *
+ * @deprecated since version 3.3, to be removed in 4.0.
  */
 class MapClassLoader
 {
     private $map = array();
 
     /**
-     * Constructor.
-     *
      * @param array $map A map where keys are classes and values the absolute file path
      */
     public function __construct(array $map)