src/Cronner/Tasks/Parameters.php
public function isInDay(DateTimeInterface $now) : bool
	{
		if (($days = $this->values[static::DAYS]) !== NULL) {
			return in_array($now->format('D'), $days);
		}

		return TRUE;
	}
public function isInDay(DateTimeInterface $now) : bool
	{
		if (($days = $this->values[static::DAYS]) !== NULL) {
			return in_array($now->format('D'), $days);
		}

		return TRUE;
	}
public function isInDay ( DateTimeInterface $ now ) : bool { if ( ( $ days = $ this -> values [ static :: DAYS ] ) !== NULL ) { return in_array ( $ now -> format ( 'D' ) , $ days ) ; } return TRUE ; }
Returns true if today is allowed day of week.
Returns true if today is allowed day of week .