/** * @param $userId * @param $title * @param DateRange $blackoutDate * @return BlackoutSeries */ public static function Create($userId, $title, DateRange $blackoutDate) { $series = new BlackoutSeries($userId, $title); $series->AddBlackout(new Blackout($blackoutDate)); $series->SetCurrentBlackout($blackoutDate); return $series; }