<?php namespace Lightscale\LaralightAuthLog\Enums; enum Status: string { case LoginSuccess = 'login_success'; case LoginFailure = 'login_failure'; case Logout = 'logout'; public function values(): array { return array_map( fn($s) => $s->value, static::cases() ); } }