Last active
November 16, 2020 15:53
-
-
Save merltron-pa/41266dc1d0f2df7867149eeca92a53d9 to your computer and use it in GitHub Desktop.
PHP/JMS Article: Create basic entity
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 | |
namespace App\Entity; | |
class TestAddress | |
{ | |
/** @var string */ | |
private $name; | |
/** @var string */ | |
private $lineOne; | |
/** @var string */ | |
private $lineTwo; | |
/** @var string */ | |
private $lineThree; | |
/** @var string */ | |
private $postcode; | |
/** @var string */ | |
private $country; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment