src/Entity/Validation/EntityDataValidator.php
public function validateProperty(string $propertyName): void
    {
        $errors = $this->validator->validateProperty($this->dataObject, $propertyName);
        $this->throwExceptionIfErrors($errors);
    }
public function validateProperty(string $propertyName): void
    {
        $errors = $this->validator->validateProperty($this->dataObject, $propertyName);
        $this->throwExceptionIfErrors($errors);
    }
public function validateProperty ( string $ propertyName ) : void { $ errors = $ this -> validator -> validateProperty ( $ this -> dataObject , $ propertyName ) ; $ this -> throwExceptionIfErrors ( $ errors ) ; }
Validate a single entity property

@param string $propertyName

@throws ValidationException
Validate a single entity property