public function minlength($len, $message = null)
    {
        $this->setRule(__FUNCTION__, function($val, $args)
                       {
                           return !(strlen(trim($val)) < $args[0]);
                       }, $message, array($len));
        return $this;
    }
public function minlength($len, $message = null)
    {
        $this->setRule(__FUNCTION__, function($val, $args)
                       {
                           return !(strlen(trim($val)) < $args[0]);
                       }, $message, array($len));
        return $this;
    }
public function minlength ( $ len , $ message = null ) { $ this -> setRule ( __FUNCTION__ , function ( $ val , $ args ) { return ! ( strlen ( trim ( $ val ) ) < $ args [ 0 ] ) ; } , $ message , array ( $ len ) ) ; return $ this ; }
Field has to be greater than or equal to X characters long.

@param int $len
@param string $message
@return FormValidator
Field has to be greater than or equal to X characters long .