Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96e018b

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 parent0bcc16b commit96e018b

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)

[8]ページ先頭

©2009-2025 Movatter.jp