Last active
December 8, 2019 19:12
-
-
Save mgsmus/ecc9f74488880ee7a0d0d5352534330c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Factory { | |
function make(): object; | |
} | |
class UserFactory implements Factory { | |
function make(): User {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment