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 | |
| class Domain_Model_User { | |
| private $id; | |
| private $name; | |
| } | |
| interface Domain_Model_UserRepository { | |
| public function save(Domain_Model_User $user); | |
| public function find($id); // Returns Domain_Model_User | |
| } | |
| class UserService { |
NewerOlder