Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

TargetContentValidatorInterface.php
Go to the documentation of this file.
1 <?php
2
7 declare(strict_types=1);
8
9 namespace Ibexa\Core\Repository\Validator;
10
11 use eZ\Publish\Core\FieldType\ValidationError;
12
16 interface TargetContentValidatorInterface
17 {
18 public function validate(int $value, array $allowedContentTypes = []): ?ValidationError;
19 }
eZ\Publish\Core\FieldType\ValidationError
Class for validation errors.
Definition: Core/FieldType/ValidationError.php:17
Ibexa\Core\Repository\Validator\TargetContentValidatorInterface
Definition: TargetContentValidatorInterface.php:17
Ibexa\Core\Repository\Validator\TargetContentValidatorInterface\validate
validate(int $value, array $allowedContentTypes=[])
Ibexa\Core\Repository\Validator
Definition: TargetContentValidator.php:9
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.