A new buzzword in the PHP circles is Fluent Interfaces, which is not really new, but a way to chain methods of an object together. Here’s an example from Mike Naberezny which shows the regular way and the Fluent way: < ?php private function makeNormal(Customer $customer) { $o1 = new Order(); $customer->addOrder($o1); $line1 = new [...]
Read More...
