| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 32 | public function doGenerate() : string |
||
| 33 | { |
||
| 34 | if (!$this->isValid()) { |
||
| 35 | throw new InvalidCreditorReferenceException( |
||
| 36 | 'The provided data is not valid to generate a creditor reference.' |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | |||
| 40 | $generator = new phpIso11649(); |
||
| 41 | |||
| 42 | return $generator->generateRfReference($this->reference, false); |
||
|
|
|||
| 43 | } |
||
| 60 |