Created
November 3, 2017 08:37
-
-
Save Cyberiaaxis/9b796df0f79a8f7d2b6b9e33e2f3bcb8 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 | |
namespace Rockwood\Service; | |
use Rockwood\Entity\User; | |
class UserService | |
{ | |
public function createFromArray(array $data){ | |
return new User(); | |
} | |
public function toArray(User $user){ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment