public function max($limit)
    {
        $result = $this->compare($limit, '>');
        $this->setValid($result);

        return $this;
    }
public function max($limit)
    {
        $result = $this->compare($limit, '>');
        $this->setValid($result);

        return $this;
    }
public function max ( $ limit ) { $ result = $ this -> compare ( $ limit , '>' ) ; $ this -> setValid ( $ result ) ; return $ this ; }
Sets the maximum limit.

@param numerical $limit The limit

@return $self
Sets the maximum limit .