eZ\Publish\Core\FieldType\FieldType::checkValueStructure PHP Method

checkValueStructure() abstract protected method

Note that this does not include validation after the rules from validators, but only plausibility checks for the general data format. This is an operation method for {@see \acceptValue()}. Example implementation: protected function checkValueStructure( Value $value ) { if ( !is_array( $value->cookies ) ) { throw new InvalidArgumentException( "An array of assorted cookies was expected." ); } }
abstract protected checkValueStructure ( Value $value )
$value Value
    protected abstract function checkValueStructure(Value $value);