-
-
Save shindakioku/88fceb2162c5ab50b9f6fee9138cce3e 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
interface Foo { | |
public function foo(); | |
} | |
class Foo1 { | |
public function foo() {// write to db} | |
} | |
class Foo2 { | |
public function foo() { // write to file} | |
} | |
someFunc(Foo $foo) { | |
$foo->foo(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment