Sets skipHours.

@param array $skipHours

@return Feed
187097
public function setSkipHours(array $skipHours)
    {
        $skipHours = array_filter($skipHours, function ($hour) {
            return is_numeric($hour) && ($hour >= 0) && ($hour <= 23);
        });

        $skipHours = array_unique($skipHours);
        sort($skipHours);

        $this->skipHours = array_values($skipHours);

        return $this;
    }
1139681
public function setJournals(array $journals = [])
    {
        $this->journals = [];
        foreach ($journals as $journal) {
            $this->addJournal($journal);
        }

        return $this;
    }
645054
public function setCallbacks(array $callables)
    {
        $this->callbacks = [];

        foreach ($callables as $callable) {
            if (is_callable($callable)) {
                $this->addCallback($callable);
            }
        }

        return $this;
    }
1009168
public function skip($number)
    {
        $this->iterator = Iterators::skip($this->iterator, $number);
        return $this;
    }
13718
public function merge_feeds( array $feeds ) {
		$source_feeds = [ [] ];

		foreach ( $feeds as $feed ) {
			$source_feeds[] = $feed->get_items();
		}
		$merged_feed = array_merge( ...$source_feeds );

		$new_feed = $this->service->get_feed( '' );

		$new_feed->set_items( $merged_feed );

		return $new_feed;
	}
97484
public final function addHours( int $hours = 1 )
      : DateTime
   {

      return $this->move( new \DateInterval( 'PT' . \abs( $hours ) . 'H' ), $hours < 0 );

   }
1348720
public function reconfigure(array $options = []): AntiCSRF
    {
        /** @var string $opt */
        /** @var \DateInterval $val */
        foreach ($options as $opt => $val) {
            switch ($opt) {
                case 'tokenLifetime':
                    if ($val instanceof \DateInterval) {
                        $this->tokenLifetime = $val;
                    }
                    break;
            }
        }
        return parent::reconfigure($options);
    }
862086
public function skip($callback)
    {
        $this->rejects[] = is_callable($callback) ? $callback : function () use ($callback) {
            return $callback;
        };

        return $this;
    }
218617
public function addHours($n)
    {
        $this->setDate($this->getTimestamp() + SECONDS_IN_HOUR * $n, DATE_FORMAT_UNIXTIME);
        return $this;
    }
846111
public function setDayInterval(array $days): self
	{
		$this->dayIntervals = [];
		foreach ($days as $day) {
			$this->addDayInterval($day);
		}
		return $this;
	}
665851
public function schedule($when)
    {
        if (is_numeric($when)) {
            $dt = new DateTime;
            $dt->setTimestamp($when);
        } else {
            $dt = new DateTime($when);
        }

        $this->scheduled_at = $dt->format(DateTime::ISO8601);

        return $this;
    }
905976
public function setHour($hour)
    {

        if (($hour > 23)) {
            throw new \InvalidArgumentException('invalid value for $hour when calling PutCorporationsCorporationIdStructuresStructureIdNewSchedule., must be smaller than or equal to 23.');
        }
        if (($hour < 0)) {
            throw new \InvalidArgumentException('invalid value for $hour when calling PutCorporationsCorporationIdStructuresStructureIdNewSchedule., must be bigger than or equal to 0.');
        }

        $this->container['hour'] = $hour;

        return $this;
    }
540902
public function everyOddWeek()
    {
        $this->setScheduleMonth(self::ANY);
        $this->setScheduleWeek('odd');
        $this->setScheduleDayOfMonth(self::ANY);
        $this->setScheduleDayOfWeek(self::ANY);
        $this->setScheduleHour(0);
        $this->setScheduleMinute(0);

        return $this;
    }
824818
public function setMethods(array $methods) {
		foreach ($this->methods as $method) {
			$method->setParent(null);
		}

		$this->methods->clear();
		foreach ($methods as $method) {
			$this->setMethod($method);
		}

		return $this;
	}
338998
public function setList(array $ids)
    {
        $this->ids = $ids;
        $this->count = count($ids);
        return $this;
    }
603051
public function setDispatchers(array $dispatchers)
    {
        foreach ($dispatchers as $name => $dispatcher) {
            $this->addDispatcher($name, $dispatcher);
        }

        return $this;
    }
507713
public function withIntervalInWeeks($intervalInWeeks)
    {
        $this->validateInterval($intervalInWeeks);
        $this->interval = $intervalInWeeks;
        $this->intervalUnit = IntervalUnit::WEEK;

        return $this;
    }