| 1 | <?php |
||
| 12 | */ |
||
| 13 | class IA5String extends PrimitiveString |
||
| 14 | { |
||
| 15 | use UniversalClass; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Constructor. |
||
| 19 | * |
||
| 20 | * @param string $string |
||
| 21 | */ |
||
| 22 | 5 | public function __construct(string $string) |
|
| 23 | { |
||
| 24 | 5 | $this->_typeTag = self::TYPE_IA5_STRING; |
|
| 25 | 5 | parent::__construct($string); |
|
| 26 | 4 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | 5 | protected function _validateString(string $string): bool |
|
| 34 | } |
||
| 35 | } |
||
| 36 |