/** * Return the value of the Property as an escaped string. * * Escape values as per RFC 2445. See http://www.kanzaki.com/docs/ical/text.html * * @return string */ public function getEscapedValue() { return PropertyValueUtil::escapeValue((string) $this->value); }
public function getEscapedValue() { return implode(',', array_map(function ($value) { return PropertyValueUtil::escapeValue((string) $value); }, $this->values)); }