src/Event.php
public function weeklyOn($day, $time = '0:0'): self
    {
        $this->dailyAt($time);

        return $this->spliceIntoPosition(5, (string) $day);
    }
public function weeklyOn($day, $time = '0:0'): self
    {
        $this->dailyAt($time);

        return $this->spliceIntoPosition(5, (string) $day);
    }
public function weeklyOn ( $ day , $ time = '0:0' ) : self { $ this -> dailyAt ( $ time ) ; return $ this -> spliceIntoPosition ( 5 , ( string ) $ day ) ; }
Schedule the event to run weekly on a given day and time.

@param int|string $day
@param string     $time
Schedule the event to run weekly on a given day and time .