1 | <?php |
||
11 | class GeneralAccount implements AccountInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $id; |
||
17 | |||
18 | /** |
||
19 | * Constructor |
||
20 | * |
||
21 | * @param string $id |
||
22 | * |
||
23 | * @throws InvalidArgumentException When the account identification exceeds the maximum length. |
||
24 | */ |
||
25 | 5 | public function __construct($id) |
|
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | 3 | public function format() |
|
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | 2 | public function asDom(DOMDocument $doc) |
|
50 | } |
||
51 |