Created
November 13, 2017 11:37
-
-
Save zlikavac32/73720be1904316d4cd23cda969455986 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 UserFactory { | |
| public function create( | |
| string $email, | |
| int $gender, | |
| int $status | |
| ): User; | |
| } | |
| $factory->create( | |
| $email, | |
| User::STATUS_ACTIVE, | |
| User::GENDER_FEMALE | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment