src/Helper/ValidationHelper.php
protected function validateRequired(array $properties)
    {
        $valid = true;
        foreach ($properties as $property) {
            $value = $this->getPropertyValue($property);
            if (empty($value)) {
                $this->addError($property, sprintf('Property "%s" must not be empty.', $property));
                $valid = false;
            }
        }
        return $valid;
    }
protected function validateRequired(array $properties)
    {
        $valid = true;
        foreach ($properties as $property) {
            $value = $this->getPropertyValue($property);
            if (empty($value)) {
                $this->addError($property, sprintf('Property "%s" must not be empty.', $property));
                $valid = false;
            }
        }
        return $valid;
    }
protected function validateRequired ( array $ properties ) { $ valid = true ; foreach ( $ properties as $ property ) { $ value = $ this -> getPropertyValue ( $ property ) ; if ( empty ( $ value ) ) { $ this -> addError ( $ property , sprintf ( 'Property "%s" must not be empty.' , $ property ) ) ; $ valid = false ; } } return $ valid ; }
Validates that all the given properties are NOT empty in this instance.

@param array $properties the list of property names to validate.
@return bool true if all are valid, false otherwise.
@throws NostoException
Validates that all the given properties are NOT empty in this instance .