How to align chained methods like this
Hi ! I was trying with the options in Code Style | PHP | Wrapping and Braces | Chained method calls
but I couldn't find a way for aligning the chained methods like this:
$object->method()
->method();
Do you know if it's possible to make that?
Thanks !
Please sign in to leave a comment.
No, so I do this:
$oAjaxUpdater
->setClass("DailyReports")
->setMethod("TicketsPriorityReminder")
->addParameters(array("iClass" => JSElement::getValue("cboTicketsClass")));