public function setMonth($month)
    {
        if (!preg_match(self::$_regex['month'], $month)) {
            throw new \InvalidArgumentException(sprintf('Month "%s" is incorect', $month));
        }

        $this->month = $month;

        return $this->generateHash();
    }
public function setMonth($month)
    {
        if (!preg_match(self::$_regex['month'], $month)) {
            throw new \InvalidArgumentException(sprintf('Month "%s" is incorect', $month));
        }

        $this->month = $month;

        return $this->generateHash();
    }
public function setMonth ( $ month ) { if ( ! preg_match ( self :: $ _regex [ 'month' ] , $ month ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Month "%s" is incorect' , $ month ) ) ; } $ this -> month = $ month ; return $ this -> generateHash ( ) ; }
Set the month

@param string

@return Job
Set the month