Skip to content

Commit 6612fb6

Browse files
committed
Merge pull request #3296 from flip111/patch-3
Incorrect code: useIncludePath()
2 parents c753260 + 96e018b commit 6612fb6

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)