From http://stackoverflow.com/questions/1385429/howto-chain-objects-in-php5-this-foo-bar-baz