SHARE
TWEET

Untitled

a guest Dec 10th, 2012 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Want to get better at PHP?
Learn to code PHP in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top