|
|
|
|
|
by noduerme
459 days ago
|
|
I'd also say ...patterns like this that return the object you modified in PHP weird me out, even though they're common in JS going back to JQuery: >>
Dialog::new()
->title('Select a file')
->open(); It's an interesting "modern"-ish design choice, but it doesn't feel very PHP-ish. $dialog = new Dialog('title') followed by $dialog->open() would feel more sane. |
|