Skip to main content

All Questions

1 vote
1 answer
618 views

Should the function that operates on the object return it?

Should the function that operates on the object return it? Shortened example: class Example1 { public function method($a, $b) { $result = new Result($a, $b); $this->...
sihay's user avatar
  • 19