public function betweenlength($minlength, $maxlength, $message = null)
    {
        $message = empty($message) ? self::getDefaultMessage(__FUNCTION__, array($minlength, $maxlength)) : NULL;

        $this->minlength($minlength, $message)->max($maxlength, $message);
        return $this;
    }
public function betweenlength($minlength, $maxlength, $message = null)
    {
        $message = empty($message) ? self::getDefaultMessage(__FUNCTION__, array($minlength, $maxlength)) : NULL;

        $this->minlength($minlength, $message)->max($maxlength, $message);
        return $this;
    }
public function betweenlength ( $ minlength , $ maxlength , $ message = null ) { $ message = empty ( $ message ) ? self :: getDefaultMessage ( __FUNCTION__ , array ( $ minlength , $ maxlength ) ) : NULL ; $ this -> minlength ( $ minlength , $ message ) -> max ( $ maxlength , $ message ) ; return $ this ; }
Field has to be between minlength and maxlength characters long.

@param   int $minlength
@param   int $maxlength
@
Field has to be between minlength and maxlength characters long .