MeetingMinutes
in package
implements
ResourceInterface
uses
TimestampableTrait
Meeting minutes.
Attributes
- #[Entity]
- #[HasLifecycleCallbacks]
Table of Contents
Interfaces
- ResourceInterface
Properties
- $createdAt : DateTime
- The date at which the entity was created.
- $meeting : Meeting
- The corresponding meeting for these minutes.
- $meeting_number : int
- Meeting number.
- $meeting_type : MeetingTypes
- Meeting type.
- $path : string
- The storage path.
- $updatedAt : DateTime
- The date at which the entity was updated.
Methods
- getCreatedAt() : DateTime
- getPath() : string
- getResourceId() : string
- Get the resource ID.
- 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.
- setMeeting() : void
- setPath() : void
- setCreatedAt() : void
- setUpdatedAt() : void
Properties
$createdAt
The date at which the entity was created.
protected
DateTime
$createdAt
Attributes
- #[Column]
- $type: 'datetime'
$meeting
The corresponding meeting for these minutes.
protected
Meeting
$meeting
Attributes
- #[JoinColumn]
- $name: 'meeting_type'
- $referencedColumnName: 'type'
- $nullable: false
- #[JoinColumn]
- $name: 'meeting_number'
- $referencedColumnName: 'number'
- $nullable: false
- #[OneToOne]
- $targetEntity: \Decision\Model\Meeting::class
- $inversedBy: 'meetingMinutes'
$meeting_number
Meeting number.
protected
int
$meeting_number
Attributes
- #[Column]
- $type: 'integer'
- #[Id]
$meeting_type
Meeting type.
protected
MeetingTypes
$meeting_type
Attributes
- #[Column]
- $type: 'string'
- $enumType: \Decision\Model\Enums\MeetingTypes::class
- #[Id]
$path
The storage path.
protected
string
$path
Attributes
- #[Column]
- $type: 'string'
$updatedAt
The date at which the entity was updated.
protected
DateTime
$updatedAt
Attributes
- #[Column]
- $type: 'datetime'
Methods
getCreatedAt()
public
getCreatedAt() : DateTime
Return values
DateTimegetPath()
public
getPath() : string
Return values
stringgetResourceId()
Get the resource ID.
public
getResourceId() : string
Return values
stringgetUpdatedAt()
public
getUpdatedAt() : DateTime
Return values
DateTimeprePersist()
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]
setMeeting()
public
setMeeting(Meeting $meeting) : void
Parameters
- $meeting : Meeting
setPath()
public
setPath(string $path) : void
Parameters
- $path : string
setCreatedAt()
private
setCreatedAt(DateTime $createdAt) : void
Parameters
- $createdAt : DateTime
setUpdatedAt()
private
setUpdatedAt(DateTime $updatedAt) : void
Parameters
- $updatedAt : DateTime