From 406313d10931cb24ddb2d03b021ca5129687eaa6 Mon Sep 17 00:00:00 2001 From: mvanmeerbeck Date: Mon, 9 Feb 2015 13:44:03 +0100 Subject: [PATCH] require_once path fixed added the php extension to the require --- components/class_loader/map_class_loader.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/class_loader/map_class_loader.rst b/components/class_loader/map_class_loader.rst index 0a157416040..2705fa24282 100644 --- a/components/class_loader/map_class_loader.rst +++ b/components/class_loader/map_class_loader.rst @@ -25,7 +25,7 @@ Usage Using it is as easy as passing your mapping to its constructor when creating an instance of the ``MapClassLoader`` class:: - require_once '/path/to/src/Symfony/Component/ClassLoader/MapClassLoader'; + require_once '/path/to/src/Symfony/Component/ClassLoader/MapClassLoader.php'; $mapping = array( 'Foo' => '/path/to/Foo',