SHARE
TWEET

Untitled

a guest Dec 10th, 2012 23 Never
  1. <?php
  2. class Foo
  3. {
  4.     public $foo;
  5.  
  6.     function __construct()
  7.     {
  8.         $this->foo = new Foo();
  9.     }
  10.  
  11.     function do_something()
  12.     {
  13.         $this->foo->do_foobar();
  14.     }
  15. }
RAW Paste Data
Top