class User (View source)

Properties

protected FunctionInspector $functionInspector

Methods

__construct(FunctionInspector $functionInspector)

No description

bool|null
isSuperUser()

Check if the current user is root/superuser.

Details

__construct(FunctionInspector $functionInspector)

No description

Parameters

FunctionInspector $functionInspector

bool|null isSuperUser()

Check if the current user is root/superuser.

Return Value

bool|null

return true if the current user is root, false if not root, or NULL if we don't know