Overtrue\Validation\Validator::validateNumeric PHP 메소드

validateNumeric() 보호된 메소드

Validate that an attribute is numeric.
protected validateNumeric ( string $attribute, mixed $value ) : boolean
$attribute string
$value mixed
리턴 boolean
    protected function validateNumeric($attribute, $value)
    {
        return is_numeric($value);
    }
Validator