diff --git a/lib/Providers/Service.php b/lib/Providers/Service.php index 47f6a7f..f6b5023 100644 --- a/lib/Providers/Service.php +++ b/lib/Providers/Service.php @@ -40,7 +40,6 @@ use KTXM\ProviderImap\Service\Remote\RemoteService; use KTXM\ProviderImap\Providers\CollectionResource; use KTXF\Mail\Collection\CollectionRoles; use KTXF\Mail\Object\MessagePropertiesMutableInterface; -use KTXF\Mail\Service\ServiceEntityMutableInterface; use KTXM\ProviderImap\Providers\EntityResource; /** @@ -671,11 +670,6 @@ class Service implements ServiceBaseInterface, ServiceMutableInterface, ServiceC return $list; } - public function entityPatch(MessagePropertiesMutableInterface $properties, EntityIdentifier ...$targets): array - { - throw new \RuntimeException('Entity patching is not supported in this service'); - } - public function entityPatch(MessagePropertiesMutableInterface $properties, EntityIdentifier ...$targets): array { // validate identifiers and group by collection @@ -765,11 +759,6 @@ class Service implements ServiceBaseInterface, ServiceMutableInterface, ServiceC return $list; } - public function entityCopy(CollectionIdentifier $target, EntityIdentifier ...$sources): array - { - throw new \RuntimeException('Entity copying is not supported in this service'); - } - private function groupEntitiesByCollection(EntityIdentifier ...$identifiers): array { $list = [];