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 | 10 | public function __construct($number) |
|
44 | |||
45 | /** |
||
46 | * Format the participant number |
||
47 | * |
||
48 | * @return string The formatted participant number |
||
49 | */ |
||
50 | 1 | public function format() |
|
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | 2 | public function asDom(DOMDocument $doc) |
|
67 | } |
||
68 |