Created
December 18, 2013 12:22
-
-
Save ptlis/8021391 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 iFoo { | |
public function bar(); | |
} | |
abstract class aFoo { | |
abstract public function bar(); | |
} | |
class concFoo extends aFoo implements iFoo{ | |
public function bar() { | |
return 'baz'; | |
} | |
} | |
$foo = new concFoo(); | |
echo $foo->bar().PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment