No Description

source4.php 436B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. // Declare the interface 'iTemplate'
  3. interface iTemplate
  4. {
  5. public function setVariable($name, $var);
  6. public function
  7. getHtml($template);
  8. }
  9. interface a
  10. {
  11. public function foo();
  12. }
  13. interface b extends a
  14. {
  15. public function baz(Baz $baz);
  16. }
  17. // short desc for class that implement a unique interface
  18. class c implements b
  19. {
  20. public function foo()
  21. {
  22. }
  23. public function baz(Baz $baz)
  24. {
  25. }
  26. }