Created
December 6, 2012 09:58
-
-
Save trq/4223377 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface foo { | |
public function x(); | |
} | |
interface bar { | |
public function y(); | |
} | |
interface something extends foo, bar { | |
public function z(); | |
} | |
class a implements something { | |
public function x() {} | |
public function y() {} | |
public function z() {} | |
} | |
$a = new a; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment