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 | public function __construct($number) |
||
35 | |||
36 | /** |
||
37 | * Format the participant number |
||
38 | * |
||
39 | * @return string The formatted participant number |
||
40 | */ |
||
41 | public function format() |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function asDom(DOMDocument $doc) |
||
58 | } |
||
59 |