From 96e018b58d7706113adfd2f211fd4c735776b825 Mon Sep 17 00:00:00 2001 From: flip111 Date: Sat, 7 Dec 2013 12:05:53 +0100 Subject: [PATCH] Incorrect code: useIncludePath() Docs of v2.2 and later not in sync with code from v2.2 and later. See: https://github.com/symfony/ClassLoader/blob/2.2/ClassLoader.php#L108 --- components/class_loader/class_loader.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/class_loader/class_loader.rst b/components/class_loader/class_loader.rst index a51738bd592..02c0c3d878f 100644 --- a/components/class_loader/class_loader.rst +++ b/components/class_loader/class_loader.rst @@ -31,7 +31,7 @@ is straightforward:: $loader = new ClassLoader(); // to enable searching the include path (eg. for PEAR packages) - $loader->useIncludePath(true); + $loader->setUseIncludePath(true); // ... register namespaces and prefixes here - see below