Is there any strict requirement if chaining should be aligned starting with the class vs. methods only?
Chaining with only methods being aligned:
$this->fooService
->doBar()
->doBaz();
Above example shows the alignment just within methods.
Chaining with everything being aligned:
$this
->fooService
->doBar()
->doBaz();
This question is not opinion based as I'm asking about coding standard defined by a PHP community.