Documentation

ActivityOptionCreationPeriod
in package
uses IdentifiableTrait

Activity Options Creation Period Contains a period during which options may be created.

Tags
psalm-import-type

MaxActivitiesArrayType from MaxActivities as ImportedMaxActivitiesArrayType

Attributes
#[Entity]

Table of Contents

Properties

$beginOptionTime  : DateTime
The date and time the period for which options can be created starts.
$beginPlanningTime  : DateTime
The date and time the planning period starts.
$endOptionTime  : DateTime
The date and time the period for which options can be created ends.
$endPlanningTime  : DateTime
The date and time the planning period ends.
$id  : int|null
The default value must be `null` to prevent issues with auto generating the value. The column is strictly not nullable.
$maxActivities  : Collection<string|int, MaxActivities>
The number of activities an organ can create in a period.

Methods

__construct()  : mixed
getBeginOptionTime()  : DateTime
getBeginPlanningTime()  : DateTime
getEndOptionTime()  : DateTime
getEndPlanningTime()  : DateTime
getId()  : int|null
Get the identifier of the object.
getMaxActivities()  : Collection<string|int, MaxActivities>
setBeginOptionTime()  : void
setBeginPlanningTime()  : void
setEndOptionTime()  : void
setEndPlanningTime()  : void
setId()  : void
Setting the identifier manually will, in most instances, result in undefined behaviour. Use with caution!
toArray()  : ImportedMaxActivitiesArrayType[]}
Returns an associative array representation of this object.

Properties

$beginOptionTime

The date and time the period for which options can be created starts.

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

$beginPlanningTime

The date and time the planning period starts.

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

$endOptionTime

The date and time the period for which options can be created ends.

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

$endPlanningTime

The date and time the planning period ends.

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

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

$maxActivities

The number of activities an organ can create in a period.

protected Collection<string|int, MaxActivities> $maxActivities
Attributes
#[OneToMany]
$targetEntity: \Activity\Model\MaxActivities::class
$mappedBy: 'period'
$cascade: ['remove']
$orphanRemoval: true

Methods

getId()

Get the identifier of the object.

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

setBeginOptionTime()

public setBeginOptionTime(DateTime $beginOptionTime) : void
Parameters
$beginOptionTime : DateTime

setBeginPlanningTime()

public setBeginPlanningTime(DateTime $beginPlanningTime) : void
Parameters
$beginPlanningTime : DateTime

setEndPlanningTime()

public setEndPlanningTime(DateTime $endPlanningTime) : void
Parameters
$endPlanningTime : DateTime

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

toArray()

Returns an associative array representation of this object.

public toArray() : ImportedMaxActivitiesArrayType[]}
Return values
ImportedMaxActivitiesArrayType[]}

        
On this page

Search results