59 lines
1.1 KiB
PHP
59 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace KTXF\People\Collection;
|
|
|
|
use KTXF\Json\JsonDeserializable;
|
|
|
|
interface ICollectionMutable extends ICollectionBase, JsonDeserializable {
|
|
|
|
/**
|
|
* Sets the active status of this collection
|
|
*
|
|
* @since 2025.05.01
|
|
*/
|
|
public function setEnabled(bool $value): self;
|
|
|
|
/**
|
|
* Sets the human friendly name of this collection (e.g. Personal Contacts)
|
|
*
|
|
* @since 2025.05.01
|
|
*/
|
|
public function setLabel(string $value): self;
|
|
|
|
/**
|
|
* Sets the human friendly description of this collection
|
|
*
|
|
* @since 2025.05.01
|
|
*/
|
|
public function setDescription(?string $value): self;
|
|
|
|
/**
|
|
* Sets the priority of this collection
|
|
*
|
|
* @since 2025.05.01
|
|
*/
|
|
public function setPriority(?int $value): self;
|
|
|
|
/**
|
|
* Sets the visibility of this collection
|
|
*
|
|
* @since 2025.05.01
|
|
*/
|
|
public function setVisibility(?bool $value): self;
|
|
|
|
/**
|
|
* Sets the color of this collection
|
|
*
|
|
* @since 2025.05.01
|
|
*/
|
|
public function setColor(?string $value): self;
|
|
|
|
}
|