Böyle bir şey kullanmak için herhangi bir sözdizimi var?:
<?php function get_foo() { return new Foo(); } get_foo()->foo_method(); ?>