protected function checkTypeNumber($entity, $schema, $entityName)
    {
        $this->checkMinimum($entity, $schema, $entityName);
        $this->checkMaximum($entity, $schema, $entityName);
        $this->checkExclusiveMinimum($entity, $schema, $entityName);
        $this->checkExclusiveMaximum($entity, $schema, $entityName);
        $this->checkFormat($entity, $schema, $entityName);
        $this->checkEnum($entity, $schema, $entityName);
        $this->checkDisallow($entity, $schema, $entityName);
        $this->checkDivisibleBy($entity, $schema, $entityName);

        return $this;
    }
protected function checkTypeNumber($entity, $schema, $entityName)
    {
        $this->checkMinimum($entity, $schema, $entityName);
        $this->checkMaximum($entity, $schema, $entityName);
        $this->checkExclusiveMinimum($entity, $schema, $entityName);
        $this->checkExclusiveMaximum($entity, $schema, $entityName);
        $this->checkFormat($entity, $schema, $entityName);
        $this->checkEnum($entity, $schema, $entityName);
        $this->checkDisallow($entity, $schema, $entityName);
        $this->checkDivisibleBy($entity, $schema, $entityName);

        return $this;
    }
protected function checkTypeNumber ( $ entity , $ schema , $ entityName ) { $ this -> checkMinimum ( $ entity , $ schema , $ entityName ) ; $ this -> checkMaximum ( $ entity , $ schema , $ entityName ) ; $ this -> checkExclusiveMinimum ( $ entity , $ schema , $ entityName ) ; $ this -> checkExclusiveMaximum ( $ entity , $ schema , $ entityName ) ; $ this -> checkFormat ( $ entity , $ schema , $ entityName ) ; $ this -> checkEnum ( $ entity , $ schema , $ entityName ) ; $ this -> checkDisallow ( $ entity , $ schema , $ entityName ) ; $ this -> checkDivisibleBy ( $ entity , $ schema , $ entityName ) ; return $ this ; }
Check number type

@param mixed $entity
@param object $schema
@param string $entityName

@return Validator
Check number type