Documentation

UserSignup extends Signup
in package

Signup model.

Attributes
#[Entity]

Table of Contents

Properties

$createdAt  : DateTime
The date at which the entity was created.
$fieldValues  : Collection<string|int, SignupFieldValue>
Additional field values for this Signup.
$id  : int|null
The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
$signupList  : SignupList
The SignupList the signup is for.
$updatedAt  : DateTime
The date at which the entity was updated.
$user  : Member
Who is subscribed. This association cannot be nonnullable, as this breaks {@link ExternalSignup}.

Methods

__construct()  : mixed
getCreatedAt()  : DateTime
getEmail()  : string|null
Get the email address of the user whom signed up for the activity.
getFieldValues()  : Collection<string|int, SignupFieldValue>
Get all the extra field values.
getFullName()  : string
Get the full name of the user whom signed up for the activity.
getId()  : int|null
Get the identifier of the object.
getSignupList()  : SignupList
Get the SignupList which the user is signed up for.
getUpdatedAt()  : DateTime
getUser()  : Member
Get the user that is signed up.
prePersist()  : void
Automatically fill in the `DateTime`s before the initial call to `persist()`.
preUpdate()  : void
Automatically update the `updatedAt` `DateTime` when doing an update to the entity.
setId()  : void
Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
setSignupList()  : void
Set the SignupList that the user signed up for.
setUser()  : void
Set the user for the activity signup.
toFormArray()  : array<string|int, int|string|null>
toGdprArray()  : SignupGdprArrayType
setCreatedAt()  : void
setUpdatedAt()  : void

Properties

$createdAt

The date at which the entity was created.

protected DateTime $createdAt
Attributes
#[Column]
$type: 'datetime'

$fieldValues

Additional field values for this Signup.

protected Collection<string|int, SignupFieldValue> $fieldValues
Attributes
#[OneToMany]
$targetEntity: \Activity\Model\SignupFieldValue::class
$mappedBy: 'signup'
$cascade: ['persist', 'remove']

$id

The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.

protected int|null $id = null
Attributes
#[Column]
$type: 'integer'
#[GeneratedValue]
$strategy: 'IDENTITY'
#[Id]

$signupList

The SignupList the signup is for.

protected SignupList $signupList
Attributes
#[JoinColumn]
$name: 'signuplist_id'
$referencedColumnName: 'id'
$nullable: false
#[ManyToOne]
$targetEntity: \Activity\Model\SignupList::class
$inversedBy: 'signUps'

$updatedAt

The date at which the entity was updated.

protected DateTime $updatedAt
Attributes
#[Column]
$type: 'datetime'

$user

Who is subscribed. This association cannot be nonnullable, as this breaks {@link ExternalSignup}.

protected Member $user
Attributes
#[JoinColumn]
$name: 'user_lidnr'
$referencedColumnName: 'lidnr'
#[ManyToOne]
$targetEntity: \Decision\Model\Member::class

Methods

__construct()

public __construct() : mixed

getEmail()

Get the email address of the user whom signed up for the activity.

public getEmail() : string|null
Return values
string|null

getFullName()

Get the full name of the user whom signed up for the activity.

public getFullName() : string
Return values
string

getId()

Get the identifier of the object.

public getId() : int|null
Tags
psalm-ignore-nullable-return
Return values
int|null

prePersist()

Automatically fill in the `DateTime`s before the initial call to `persist()`.

public prePersist() : void
Attributes
#[PrePersist]

preUpdate()

Automatically update the `updatedAt` `DateTime` when doing an update to the entity.

public preUpdate() : void
Attributes
#[PreUpdate]

setId()

Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!

public setId(int|null $id) : void
Parameters
$id : int|null

setSignupList()

Set the SignupList that the user signed up for.

public setSignupList(SignupList $signupList) : void
Parameters
$signupList : SignupList

setUser()

Set the user for the activity signup.

public setUser(Member $user) : void
Parameters
$user : Member

toFormArray()

public toFormArray() : array<string|int, int|string|null>
Return values
array<string|int, int|string|null>

toGdprArray()

public toGdprArray() : SignupGdprArrayType
Return values
SignupGdprArrayType

setCreatedAt()

private setCreatedAt(DateTime $createdAt) : void
Parameters
$createdAt : DateTime

setUpdatedAt()

private setUpdatedAt(DateTime $updatedAt) : void
Parameters
$updatedAt : DateTime

        
On this page

Search results