1 2 3 4 5 6 7 8 9
<?php namespace App\Types; enum LoginType: string { case PASSWORD = "m.login.password"; case TOKEN = "m.login.token"; }