public function isInteger()
    {
        if (is_null($this->integer)) {
            $this->integer = $this->isRuleExists('integer');
        }

        return $this->integer;
    }
public function isInteger()
    {
        if (is_null($this->integer)) {
            $this->integer = $this->isRuleExists('integer');
        }

        return $this->integer;
    }
public function isInteger ( ) { if ( is_null ( $ this -> integer ) ) { $ this -> integer = $ this -> isRuleExists ( 'integer' ) ; } return $ this -> integer ; }
Checks if the rules is interger.

@return bool
Checks if the rules is interger .