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

Commitfb9fe99

Browse files
committed
[symfony#3729] Removing 3rd argument to isWritable - this doesn't exist in the final merged item
1 parent319bf29 commitfb9fe99

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎components/property_access/introduction.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,11 @@ instead::
334334
The same is possible for:method:`PropertyAccessor::setValue<Symfony\\Component\\PropertyAccess\\PropertyAccessor::setValue>`:
335335
Call the
336336
:method:`PropertyAccessor::isWritable<Symfony\\Component\\PropertyAccess\\PropertyAccessor::isWritable>`
337-
method to find out whether a property path can be updated. In the third
338-
argument, you should pass the value that you want to write::
337+
method to find out whether a property path can be updated::
339338

340339
$person = new Person();
341340

342-
if ($accessor->isWritable($person, 'firstName', 'Wouter') {
341+
if ($accessor->isWritable($person, 'firstName') {
343342
// ...
344343
}
345344

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp