Created
April 21, 2015 22:01
-
-
Save renan/29f37449bbd5f4e6c4f5 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 | |
class Person | |
{ | |
public function addPhoneNumber(PhoneNumber $phoneNumber) | |
{ | |
$this->phoneNumbers[] = $phoneNumber; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment