HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/apklausos/application/libraries/ObjectPatch/OpHandler/OpHandlerInterface.php
<?php

namespace LimeSurvey\ObjectPatch\OpHandler;

use LimeSurvey\ObjectPatch\Op\OpInterface;

interface OpHandlerInterface
{
    public function canHandle(OpInterface $op): bool;

    public function handle(OpInterface $op);

    /*
     * Should be implemented AND called in handle methods separately
     * Needs to return empty array when everything is fine,
     * or an array of errors
     */
    public function validateOperation(OpInterface $op): array;
}