Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\Http\Request\EventOccurrence;
use HiEvents\Http\Request\BaseRequest;
class UpdateProductVisibilityRequest extends BaseRequest
{
public function rules(): array
{
return [
'product_ids' => ['required', 'array', 'min:1'],
'product_ids.*' => ['integer'],
];
}
public function messages(): array
{
return [
'product_ids.min' => __('Select at least one product. To make a date inaccessible, cancel it from the schedule instead.'),
];
}
}