protected function checkMinimum($entity, $schema, $entityName)
    {
        if (isset($schema->minimum)) {
            if ($entity < $schema->minimum) {
                throw new ValidationException(sprintf('Invalid value for [%s], minimum is [%s]', $entityName, $schema->minimum));
            }
        }

        return $this;
    }
protected function checkMinimum($entity, $schema, $entityName)
    {
        if (isset($schema->minimum)) {
            if ($entity < $schema->minimum) {
                throw new ValidationException(sprintf('Invalid value for [%s], minimum is [%s]', $entityName, $schema->minimum));
            }
        }

        return $this;
    }
protected function checkMinimum ( $ entity , $ schema , $ entityName ) { if ( isset ( $ schema -> minimum ) ) { if ( $ entity < $ schema -> minimum ) { throw new ValidationException ( sprintf ( 'Invalid value for [%s], minimum is [%s]' , $ entityName , $ schema -> minimum ) ) ; } } return $ this ; }
Check minimum value

@param int|float $entity
@param object $schema
@param string $entityName

@return Validator
Check minimum value