/** * Display a listing of the resource. * * @return Response */ public function isAccepting($cell) { $retval = array(); $retval['status'] = 1; $vendor = new Vendor(); $retval['bookings_open'] = $vendor->isAcceptingAppointments($cell); return $retval; }