lib/Core/Validator/CollectionValidator.php
public function validateItemUpdateStruct(Item $item, ItemUpdateStruct $itemUpdateStruct): void
    {
        $this->validate(
            $itemUpdateStruct,
            new ConfigAwareStructConstraint(
                [
                    'payload' => $item->getDefinition(),
                    'allowMissingFields' => true,
                ]
            )
        );
    }
public function validateItemUpdateStruct(Item $item, ItemUpdateStruct $itemUpdateStruct): void
    {
        $this->validate(
            $itemUpdateStruct,
            new ConfigAwareStructConstraint(
                [
                    'payload' => $item->getDefinition(),
                    'allowMissingFields' => true,
                ]
            )
        );
    }
public function validateItemUpdateStruct ( Item $ item , ItemUpdateStruct $ itemUpdateStruct ) : void { $ this -> validate ( $ itemUpdateStruct , new ConfigAwareStructConstraint ( [ 'payload' => $ item -> getDefinition ( ) , 'allowMissingFields' => true , ] ) ) ; }
Validates the provided item update struct.

@throws \Netgen\BlockManager\Exception\Validation\ValidationException If the validation failed
Validates the provided item update struct .