Documentation

ExternalSignup extends Signup
in package

ExternalSignup model.

Attributes
#[Entity]

Table of Contents

Properties

$createdAt  : DateTime
The date at which the entity was created.
$email  : string
The email address of the external subscriber.
$fieldValues  : Collection<string|int, SignupFieldValue>
Additional field values for this Signup.
$fullName  : string
The full name of the external subscriber.
$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.

Methods

__construct()  : mixed
getCreatedAt()  : DateTime
getEmail()  : string
Get the email address of the user who signed up for the activity.
getFieldValues()  : Collection<string|int, SignupFieldValue>
Get all the extra field values.
getFullName()  : string
Gets the full name of the user who 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
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.
setEmail()  : void
Sets the e-mail address of the user who signed up for the activity.
setFullName()  : void
Sets the full name of the user who signed up for the activity.
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.
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'

$email

The email address of the external subscriber.

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

$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']

$fullName

The full name of the external subscriber.

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

$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'

Methods

__construct()

public __construct() : mixed

getEmail()

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

public getEmail() : string
Return values
string

getFullName()

Gets the full name of the user who 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]

setEmail()

Sets the e-mail address of the user who signed up for the activity.

public setEmail(string $email) : void
Parameters
$email : string

setFullName()

Sets the full name of the user who signed up for the activity.

public setFullName(string $fullName) : void
Parameters
$fullName : string

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

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