We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9bd6d commit cc07af2Copy full SHA for cc07af2
src/Symfony/Component/ClassLoader/MapFileClassLoader.php renamed to src/Symfony/Component/ClassLoader/MapClassLoader.php
@@ -16,18 +16,18 @@
16
*
17
* @author Fabien Potencier <[email protected]>
18
*/
19
-class MapFileClassLoader
+class MapClassLoader
20
{
21
private $map = array();
22
23
/**
24
* Constructor.
25
26
- * @param string $file Path to class mapping file
+ * @param array $map A map where keys are classes and values the absolute file path
27
28
- public function __construct($file)
+ public function __construct(array $map)
29
30
- $this->map = require $file;
+ $this->map = $map;
31
}
32
33
0 commit comments