foo = new Foo(); } function do_something() { $this->foo->do_foobar(); } }