Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
25 | 34 | public function __construct($number) |
|
26 | { |
||
27 | 34 | list(, $century, $datestr, $delimiter, $serialPost, $check) = $this->parseNumber(self::PATTERN, $number); |
|
28 | 12 | parent::__construct($century . $datestr . $delimiter . '0000'); |
|
29 | 12 | $this->serialPost = $serialPost; |
|
30 | 12 | $this->checkDigit = $check; |
|
31 | 12 | } |
|
32 | |||
50 |