Skip to content

Commit b3fd864

Browse files
committed
Update README.md to reflect fluent setter in the code sample.
1 parent 53f2fec commit b3fd864

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ class Foo {
279279
public function setBar($bar)
280280
{
281281
$this->bar = $bar;
282+
283+
return $this; // If you opted for a fluent setter at the prompt.
282284
}
283285

284286
public function getBar()

0 commit comments

Comments
 (0)