<?php

namespace Wappointment\Jobs;

use Wappointment\Services\Availability;
class AvailabilityRegenerate implements \Wappointment\Jobs\JobInterface
{
    private $staff_id = \false;
    public function __construct($params)
    {
        $this->staff_id = $params['staff_id'];
    }
    public function handle()
    {
        return (new Availability($this->staff_id))->regenerate();
    }
}
