public function length($min, $max = PHP_INT_MAX)
    {
        return $this->markErrorIf(strlen($this->value) < $min || strlen($this->value) > $max);
    }
public function length($min, $max = PHP_INT_MAX)
    {
        return $this->markErrorIf(strlen($this->value) < $min || strlen($this->value) > $max);
    }
public function length ( $ min , $ max = PHP_INT_MAX ) { return $ this -> markErrorIf ( strlen ( $ this -> value ) < $ min || strlen ( $ this -> value ) > $ max ) ; }
Verify the length of the value is within the range

@param $min
@param int $max
@return Validator
Verify the length of the value is within the range