resourceId = $resourceId; $this->addRemove = $addRemove; $this->isRecursive = $isRecursive; } public function getName(): string { return static::class; } public function getResourceId(): string { return $this->resourceId; } public function getOperations(string $operation): array { return array_keys($this->addRemove[$operation] ?? []); } public function isRecursive(): bool { return $this->isRecursive; } }