UserModelStub
class UserModelStub
Supplies the application's user model to code generators. Kit stubs (auth, profile, admin dashboard, events, notifications) generate code that lives in the application, so they reference the application's concrete user model rather than resolving it at runtime. The class is read from auth.user_model at generation time so generated code matches whatever the application has configured.
Methods
The fully qualified class name of the configured user model, for use in a generated use statement.
The short class name of the configured user model, for use in generated type hints and static calls.
Details
at line 22
static string
fqcn()
The fully qualified class name of the configured user model, for use in a generated use statement.
at line 32
static string
shortName()
The short class name of the configured user model, for use in generated type hints and static calls.