public function getConfig($options = null)
    {
        if ($options === null) {
            return $this->checkMode;
        }

        return $this->checkMode & $options;
    }
public function getConfig($options = null)
    {
        if ($options === null) {
            return $this->checkMode;
        }

        return $this->checkMode & $options;
    }
public function getConfig ( $ options = null ) { if ( $ options === null ) { return $ this -> checkMode ; } return $ this -> checkMode & $ options ; }
Get checkMode option

@param int $options Options to get, if null then return entire bitmask

@return int
Get checkMode option