Initial commit

This commit is contained in:
root
2026-01-04 22:05:37 -05:00
committed by Sebastian Krupinski
commit 4f979ced22
57 changed files with 11076 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace KTXM\ProviderJmapc\Jmap\FM\Response\Contacts;
use JmapClient\Responses\ResponseParameters;
class ContactEmailParameters extends ResponseParameters {
public function type(): ?string {
return $this->parameter('type') ?? 'personal';
}
public function value(): ?string {
return $this->parameter('value');
}
public function label(): ?string {
return $this->parameter('label');
}
public function default(): bool {
return $this->parameter('isDefault');
}
}