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