Created
August 31, 2016 18:49
-
-
Save julianobailao/3d6a339a3f29af73e10ace062e3b74c2 to your computer and use it in GitHub Desktop.
Add adress to collection
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 | |
$customer->address()->put('secondary_address', new Address('Highway name', 'km 12345', 'City name', 'My state')); | |
$customer->address()->put('business_address', new Address('Business Street name', '54321', 'City name', 'My state')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment