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\Attributes;
use Attribute;
use HiEvents\DomainObjects\Enums\Permission;
#[Attribute(Attribute::TARGET_CLASS)]
readonly class RequiresPermission
{
/** @var Permission[] */
public array $permissions;
public function __construct(Permission ...$permissions)
{
$this->permissions = $permissions;
}
}