protected function setFieldsFromLine(VCardLine $line)
 {
     /* @var $fields array */
     $fields = $this->fields();
     /* @var $fieldStrs array */
     $fieldStrs = \preg_split(VCardLine::SEMICOLON_SPLIT, $line->getValue());
     if (\count($fieldStrs) > \count($fields)) {
         throw new \DomainException('Field count, ' . \count($fieldStrs) . 'is greater than the number of fields defined (' . \count($fields) . ') for property ' . $this->getName() . " : " . $line->getValue());
     }
     foreach ($fieldStrs as $index => $value) {
         if (0 !== \strlen($value)) {
             $this->setField($fields[$index], \stripcslashes(\trim($value)));
         }
     }
 }
 /**
  * This method will extract the value component from a pre-parsed line of
  * raw VCard text.
  * @param \EVought\vCardTools\VCardLine $line A line of raw VCard text
  * which has already been parsed into its component structures.
  * @return SimpleProperty $this
  */
 protected function setValueFromLine(VCardLine $line)
 {
     $this->value = \stripcslashes($line->getValue());
     return $this;
 }