From c6c302ffd266f3925b2e320e4ced1c54a89e5001 Mon Sep 17 00:00:00 2001 From: Sebastian Krupinski Date: Sun, 15 Feb 2026 10:02:17 -0500 Subject: [PATCH] feat: implement standardized protocol Signed-off-by: Sebastian Krupinski --- lib/Providers/Mail/Service.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Providers/Mail/Service.php b/lib/Providers/Mail/Service.php index a4e6745..fcac5e7 100644 --- a/lib/Providers/Mail/Service.php +++ b/lib/Providers/Mail/Service.php @@ -68,8 +68,8 @@ class Service implements ServiceBaseInterface, ServiceMutableInterface, ServiceC self::CAPABILITY_COLLECTION_EXTANT => true, self::CAPABILITY_COLLECTION_FETCH => true, self::CAPABILITY_COLLECTION_CREATE => true, - self::CAPABILITY_COLLECTION_MODIFY => true, - self::CAPABILITY_COLLECTION_DESTROY => true, + self::CAPABILITY_COLLECTION_UPDATE => true, + self::CAPABILITY_COLLECTION_DELETE => true, self::CAPABILITY_ENTITY_LIST => true, self::CAPABILITY_ENTITY_LIST_FILTER => [ self::CAPABILITY_ENTITY_FILTER_ALL => 's:200:256:256', @@ -431,7 +431,7 @@ class Service implements ServiceBaseInterface, ServiceMutableInterface, ServiceC return $object; } - public function collectionModify(string|int $identifier, CollectionMutableInterface $collection): CollectionBaseInterface + public function collectionUpdate(string|int $identifier, CollectionMutableInterface $collection): CollectionBaseInterface { $this->initialize(); @@ -450,7 +450,7 @@ class Service implements ServiceBaseInterface, ServiceMutableInterface, ServiceC return $object; } - public function collectionDestroy(string|int $identifier, bool $force = false, bool $recursive = false): bool + public function collectionDelete(string|int $identifier, bool $force = false, bool $recursive = false): bool { $this->initialize(); -- 2.39.5