Create a connector to synchronize with zimbra calendars

This commit is contained in:
2025-12-05 11:59:32 +00:00
parent 0ba5cd849c
commit 92d5fe154e
34 changed files with 1116 additions and 22 deletions

View File

@@ -26,6 +26,7 @@ class AddressRender implements ChillEntityRenderInterface
'with_delimiter' => false,
'has_no_address' => false,
'multiline' => true,
'separator' => ' — ',
/* deprecated */
'extended_infos' => false,
];
@@ -114,7 +115,9 @@ class AddressRender implements ChillEntityRenderInterface
public function renderString($addr, array $options): string
{
return implode(' — ', $this->renderLines($addr));
$opts = [...self::DEFAULT_OPTIONS, ...$options];
return implode($opts['separator'], $this->renderLines($addr));
}
public function supports($entity, array $options): bool

View File

@@ -52,7 +52,7 @@ class CommentRender implements ChillEntityRenderInterface
public function renderString($entity, array $options): string
{
return $entity->getComment();
return (string) $entity->getComment();
}
public function supports($entity, array $options): bool