Documentation

NewUser
in package

User model.

Attributes
#[Entity]

Table of Contents

Properties

$code  : string
The user's activation code.
$lidnr  : int
The membership number.
$member  : Member
User's member.
$time  : DateTime|null
Registration attempt timestamp.

Methods

__construct()  : mixed
getCode()  : string
Get the activation code.
getLidnr()  : int
Get the membership number.
getMember()  : Member
Get the member.
getTime()  : DateTime|null
Get the registration time.
setCode()  : void
Set the activation code.
setLidnr()  : void
Set the user's membership number.
setTime()  : void
Set the registration time.

Properties

$code

The user's activation code.

protected string $code
Attributes
#[Column]
$type: 'string'

$lidnr

The membership number.

protected int $lidnr
Attributes
#[Column]
$type: 'integer'
#[Id]

$member

User's member.

protected Member $member
Attributes
#[JoinColumn]
$name: 'lidnr'
$referencedColumnName: 'lidnr'
$nullable: false
#[OneToOne]
$targetEntity: \Decision\Model\Member::class

$time

Registration attempt timestamp.

protected DateTime|null $time = null
Attributes
#[Column]
$type: 'datetime'
$nullable: true

Methods

getCode()

Get the activation code.

public getCode() : string
Return values
string

getLidnr()

Get the membership number.

public getLidnr() : int
Return values
int

getTime()

Get the registration time.

public getTime() : DateTime|null
Return values
DateTime|null

setCode()

Set the activation code.

public setCode(string $code) : void
Parameters
$code : string

setLidnr()

Set the user's membership number.

public setLidnr(int $lidnr) : void
Parameters
$lidnr : int

setTime()

Set the registration time.

public setTime(DateTime|null $time) : void
Parameters
$time : DateTime|null

        
On this page

Search results