eZ\Publish\Core\FieldType\Author\Type::checkValueStructure PHP 메소드

checkValueStructure() 보호된 메소드

Throws an exception if value structure is not of expected format.
protected checkValueStructure ( Value $value )
$value eZ\Publish\Core\FieldType\Value
    protected function checkValueStructure(BaseValue $value)
    {
        if (!$value->authors instanceof AuthorCollection) {
            throw new InvalidArgumentType('$value->authors', 'eZ\\Publish\\Core\\FieldType\\Author\\AuthorCollection', $value->authors);
        }
    }