| 1 | <?php |
||
| 8 | class FinancialInstitutionAddress implements FinancialInstitutionInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $name; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var PostalAddressInterface |
||
| 17 | */ |
||
| 18 | protected $address; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Constructor |
||
| 22 | * |
||
| 23 | * @param string $name Name of the FI |
||
| 24 | * @param PostalAddressInterface Address of the FI |
||
| 25 | */ |
||
| 26 | 2 | public function __construct($name, PostalAddressInterface $address) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 2 | public function asDom(\DOMDocument $doc) |
|
| 43 | } |
||
| 44 |