public function setLevel($level)
    {
        if ($level < 0 || $level > 100) {
            throw new \InvalidArgumentException(sprintf(
                    'Invalid Postrize Level "%s"', (string) $level
            ));
        }
        $this->level = (int) $level;

        return $this;
    }
public function setLevel($level)
    {
        if ($level < 0 || $level > 100) {
            throw new \InvalidArgumentException(sprintf(
                    'Invalid Postrize Level "%s"', (string) $level
            ));
        }
        $this->level = (int) $level;

        return $this;
    }
public function setLevel ( $ level ) { if ( $ level < 0 || $ level > 100 ) { throw new \ InvalidArgumentException ( sprintf ( 'Invalid Postrize Level "%s"' , ( string ) $ level ) ) ; } $ this -> level = ( int ) $ level ; return $ this ; }
Set postrize level

@param integer $level in range (0,100)

@return \Jaguar\Action\Postrize

@throws \InvalidArgumentException
Set postrize level