User
extends User
in package
User
Tags
Table of Contents
Properties
- $id : int
- $googleEmail : mixed
- $menuAccess : mixed
- $newProductTeam : mixed
- $notificationGroups : mixed
- $timezone : mixed
- $twoFactorSecret : string|null
- $userAccess : mixed
- $voxpayToken : mixed
Methods
- __construct() : int
- Get id
- allowedSystemAlertModelsToSee() : array<string|int, mixed>
- Get allowed system alert models to see
- canSeeSystemAlert() : bool
- getAccessRoles() : string|array<string|int, string>
- getGoogleEmail() : mixed
- getId() : mixed
- getMenuAccess() : mixed
- getNewProductTeam() : NewProductTeam
- Get NewProductTeam
- getNotificationGroups() : ArrayCollection
- getSystemAlertRoleMapping() : array<string|int, mixed>
- Get system alert user role mapping
- getTimezone() : string
- Get timezone
- getTwoFactorSecret() : string|null
- getUserAccess() : array<string|int, mixed>
- Get userAccess
- getVoxpayToken() : mixed
- hasUserAccess() : bool
- setGoogleEmail() : void
- setMenuAccess() : mixed
- setNewProductTeam() : User
- Set NewProductTeam
- setNotificationGroups() : void
- setTimezone() : User
- Set timezone
- setTwoFactorSecret() : void
- setUserAccess() : User
- Set userAccess
- setVoxpayToken() : void
Properties
$id
protected
int
$id
Tags
$googleEmail
private
mixed
$googleEmail
Tags
$menuAccess
private
mixed
$menuAccess
Tags
$newProductTeam
private
mixed
$newProductTeam
Tags
$notificationGroups
private
mixed
$notificationGroups
Tags
$timezone
private
mixed
$timezone
Tags
$twoFactorSecret
private
string|null
$twoFactorSecret
Tags
$userAccess
private
mixed
$userAccess
Tags
$voxpayToken
private
mixed
$voxpayToken
Tags
Methods
__construct()
Get id
public
__construct() : int
Return values
intallowedSystemAlertModelsToSee()
Get allowed system alert models to see
public
allowedSystemAlertModelsToSee() : array<string|int, mixed>
Return values
array<string|int, mixed>canSeeSystemAlert()
public
canSeeSystemAlert(mixed $model) : bool
Parameters
- $model : mixed
Return values
boolgetAccessRoles()
public
static getAccessRoles([null $role = null ]) : string|array<string|int, string>
Parameters
- $role : null = null
Return values
string|array<string|int, string>getGoogleEmail()
public
getGoogleEmail() : mixed
getId()
public
getId() : mixed
getMenuAccess()
public
getMenuAccess() : mixed
getNewProductTeam()
Get NewProductTeam
public
getNewProductTeam() : NewProductTeam
Return values
NewProductTeamgetNotificationGroups()
public
getNotificationGroups() : ArrayCollection
Return values
ArrayCollectiongetSystemAlertRoleMapping()
Get system alert user role mapping
public
static getSystemAlertRoleMapping() : array<string|int, mixed>
Return values
array<string|int, mixed>getTimezone()
Get timezone
public
getTimezone() : string
Return values
stringgetTwoFactorSecret()
public
getTwoFactorSecret() : string|null
Return values
string|nullgetUserAccess()
Get userAccess
public
getUserAccess() : array<string|int, mixed>
Return values
array<string|int, mixed>getVoxpayToken()
public
getVoxpayToken() : mixed
hasUserAccess()
public
hasUserAccess(mixed $userAccess) : bool
Parameters
- $userAccess : mixed
Return values
boolsetGoogleEmail()
public
setGoogleEmail(string|null $googleEmail) : void
Parameters
- $googleEmail : string|null
setMenuAccess()
public
setMenuAccess(mixed $menuAccess) : mixed
Parameters
- $menuAccess : mixed
setNewProductTeam()
Set NewProductTeam
public
setNewProductTeam([NewProductTeam|null $newProductTeam = null ]) : User
Parameters
- $newProductTeam : NewProductTeam|null = null
Return values
UsersetNotificationGroups()
public
setNotificationGroups(ArrayCollection $notificationGroups) : void
Parameters
- $notificationGroups : ArrayCollection
setTimezone()
Set timezone
public
setTimezone(string $timezone) : User
Parameters
- $timezone : string
Return values
UsersetTwoFactorSecret()
public
setTwoFactorSecret(string|null $twoFactorSecret) : void
Parameters
- $twoFactorSecret : string|null
setUserAccess()
Set userAccess
public
setUserAccess(array<string|int, mixed> $userAccess) : User
Parameters
- $userAccess : array<string|int, mixed>
Return values
UsersetVoxpayToken()
public
setVoxpayToken(mixed $voxpayToken) : void
Parameters
- $voxpayToken : mixed