I recently saw some sample PHP code that looked like this:
$myObj->propertyOne = 'Foo'
->propertyTwo = 'Bar'
->MethodA('blah');
As opposed to:
$myObj->propertyOne = 'Foo';
$myObj->propertyTwo = 'Bar';
$myObj->MethodA('blah');
Is this from a particular framework or a particular version of PHP because I have never seen it work?