| 1 | <?php |
||
| 8 | class UnstructuredPostalAddress implements PostalAddressInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | protected $addressLines; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $country; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Constructor |
||
| 22 | * |
||
| 23 | * @param string $addressLine1 Street name and house number |
||
| 24 | * @param string $addressLine2 Postcode and town |
||
| 25 | * @param string $country Country code (ISO 3166-1 alpha-2) |
||
| 26 | */ |
||
| 27 | 2 | public function __construct($addressLine1 = null, $addressLine2 = null, $country = 'CH') |
|
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | 2 | public function asDom(\DOMDocument $doc) |
|
| 53 | } |
||
| 54 |