Skip to content

Commit 96e018b

Browse files
committed
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
1 parent 0bcc16b commit 96e018b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/class_loader/class_loader.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ is straightforward::
3131
$loader = new ClassLoader();
3232

3333
// to enable searching the include path (eg. for PEAR packages)
34-
$loader->useIncludePath(true);
34+
$loader->setUseIncludePath(true);
3535

3636
// ... register namespaces and prefixes here - see below
3737

0 commit comments

Comments
 (0)