UsersTypeEnum

Class UsersTypeEnum provides role types multiple choice select options

package

App\Enum

Methods

Returns the available role types

getAvailableTypes() : \App\Enum\array<string>
static

Response

\App\Enum\array

Returns the label for the associated role

getTypeName(string $typeShortName) : string
static

Arguments

$typeShortName

string

Response

string

$typeName

Constants

USER_USER

USER_USER

USER_ADMIN

USER_ADMIN

Properties

Static array of label names for the associated role constants

typeName : array
static
var

Type(s)

array