public function process($src, OperationInterface $operation)
    {
        $callable = $operation->getCallback();
        $arguments = array_merge([$src], $operation->getArguments());
        $res = call_user_func_array($callable, $arguments);
        return $res ?: $src;
    }
public function process($src, OperationInterface $operation)
    {
        $callable = $operation->getCallback();
        $arguments = array_merge([$src], $operation->getArguments());
        $res = call_user_func_array($callable, $arguments);
        return $res ?: $src;
    }
public function process ( $ src , OperationInterface $ operation ) { $ callable = $ operation -> getCallback ( ) ; $ arguments = array_merge ( [ $ src ] , $ operation -> getArguments ( ) ) ; $ res = call_user_func_array ( $ callable , $ arguments ) ; return $ res ? : $ src ; }
Applies operation to data source and returns modified data source.

@param $src
@param OperationInterface|CustomOperation $operation
@return mixed modified data source
Applies operation to data source and returns modified data source .