Merge pull request 'feat: implement standardized protocol' (#2) from chore/standardize-protocol into main

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2026-02-15 15:03:32 +00:00

View File

@@ -68,8 +68,8 @@ class Service implements ServiceBaseInterface, ServiceMutableInterface, ServiceC
self::CAPABILITY_COLLECTION_EXTANT => true, self::CAPABILITY_COLLECTION_EXTANT => true,
self::CAPABILITY_COLLECTION_FETCH => true, self::CAPABILITY_COLLECTION_FETCH => true,
self::CAPABILITY_COLLECTION_CREATE => true, self::CAPABILITY_COLLECTION_CREATE => true,
self::CAPABILITY_COLLECTION_MODIFY => true, self::CAPABILITY_COLLECTION_UPDATE => true,
self::CAPABILITY_COLLECTION_DESTROY => true, self::CAPABILITY_COLLECTION_DELETE => true,
self::CAPABILITY_ENTITY_LIST => true, self::CAPABILITY_ENTITY_LIST => true,
self::CAPABILITY_ENTITY_LIST_FILTER => [ self::CAPABILITY_ENTITY_LIST_FILTER => [
self::CAPABILITY_ENTITY_FILTER_ALL => 's:200:256:256', self::CAPABILITY_ENTITY_FILTER_ALL => 's:200:256:256',
@@ -431,7 +431,7 @@ class Service implements ServiceBaseInterface, ServiceMutableInterface, ServiceC
return $object; return $object;
} }
public function collectionModify(string|int $identifier, CollectionMutableInterface $collection): CollectionBaseInterface public function collectionUpdate(string|int $identifier, CollectionMutableInterface $collection): CollectionBaseInterface
{ {
$this->initialize(); $this->initialize();
@@ -450,7 +450,7 @@ class Service implements ServiceBaseInterface, ServiceMutableInterface, ServiceC
return $object; 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(); $this->initialize();