eZ\Publish\Core\Base\Exceptions\ContentFieldValidationException::__construct PHP Метод

__construct() публичный Метод

Also sets the given $fieldErrors to the internal property, retrievable by getFieldErrors()
public __construct ( array $errors )
$errors array
    public function __construct(array $errors)
    {
        $this->errors = $errors;
        $this->setMessageTemplate('Content fields did not validate');
        parent::__construct($this->getBaseTranslation());
    }
ContentFieldValidationException