Advertisement
hamjoricantiq

Untitled

Feb 24th, 2020
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?php
  2.     interface a {
  3.         public function foo();
  4.     }
  5.  
  6.     interface b {
  7.         public function bar();
  8.     }
  9.  
  10.     interface c extends a, b {
  11.         public function baz();
  12.     }
  13.  
  14.     class d implements c {
  15.         public function foo() {
  16.  
  17.         }
  18.  
  19.         public function bar() {
  20.  
  21.         }
  22.  
  23.         public function baz() {
  24.            
  25.         }
  26.     }
  27. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement