| Total Complexity | 7 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class Telephone implements PropertyInterface, NodeInterface |
||
| 14 | { |
||
| 15 | /** @var string */ |
||
| 16 | protected $value; |
||
| 17 | |||
| 18 | public function __construct(string $value) |
||
| 21 | } |
||
| 22 | |||
| 23 | public function __toString(): string |
||
| 24 | { |
||
| 25 | return $this->value; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getFormatter(): NodeFormatterInterface |
||
| 31 | } |
||
| 32 | |||
| 33 | public static function getNode(): string |
||
| 34 | { |
||
| 35 | return 'TEL'; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getValue(): string |
||
| 39 | { |
||
| 40 | return $this->value; |
||
| 41 | } |
||
| 42 | |||
| 43 | public static function getParser(): NodeParserInterface |
||
| 44 | { |
||
| 45 | return new TelephoneParser(); |
||
| 46 | } |
||
| 47 | |||
| 48 | public function isAllowedMultipleTimes(): bool |
||
| 51 | } |
||
| 52 | } |
||
| 53 |