1 | <?php |
||
11 | class ISRParticipant implements AccountInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $number; |
||
17 | |||
18 | /** |
||
19 | * Constructor |
||
20 | * |
||
21 | * @param string $number |
||
22 | * |
||
23 | * @throws \InvalidArgumentException When the participation number is not valid. |
||
24 | */ |
||
25 | 11 | public function __construct($number) |
|
38 | |||
39 | /** |
||
40 | * Format the participant number |
||
41 | * |
||
42 | * @return string The formatted participant number |
||
43 | */ |
||
44 | 1 | public function format() |
|
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | 2 | public function asDom(DOMDocument $doc) |
|
61 | } |
||
62 |