Advertisement
Guest User

Untitled

a guest
Jan 30th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <?php
  2.  
  3. class SingleClass {
  4.  
  5. function doSingle() {}
  6. function doSingleTwice() {}
  7. }
  8.  
  9. namespace Two {
  10.  
  11. class BaseClass {
  12.  
  13. function __construct($a, $b);
  14. function doDouble() {}
  15. function doDoubleTwice() {}
  16. }
  17. }
  18.  
  19. namespace Three {
  20.  
  21. class SingleClass extends \Two\BaseClass {
  22.  
  23. function work() {
  24. $this->work();
  25.  
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement