| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class X400Address extends GeneralName |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var \Sop\ASN1\Element |
||
| 24 | */ |
||
| 25 | protected $_element; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Constructor. |
||
| 29 | */ |
||
| 30 | 2 | protected function __construct() |
|
| 31 | { |
||
| 32 | 2 | $this->_tag = self::TAG_X400_ADDRESS; |
|
| 33 | 2 | } |
|
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | * |
||
| 38 | * @return self |
||
| 39 | */ |
||
| 40 | 2 | public static function fromChosenASN1(UnspecifiedType $el): GeneralName |
|
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | 1 | public function string(): string |
|
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritdoc} |
||
| 57 | */ |
||
| 58 | 1 | protected function _choiceASN1(): TaggedType |
|
| 63 |