如何在php日期选择器中使用beforeShowDay / datesDisabled?

I have used a jQuery date picker field. I’m passing the parameters for the date picker using the php function below:

protected function getOptions() {
    $options = [
        'dateFormat' => 'm/d/Y',
        'minDate' => date("m/d/Y"),
        'showWeek' => false,
        'beforeShowDay' =>  function() {}
    ];
    return $options;
}

I only need to disable weekend dates. jQuery has an option of beforeShowDay: $.datepicker.noWeekends. How can I implement that using php?