GatheringType
extends BaseEntity
in package
GatheringType Entity
Defines types of gatherings (e.g., Tournament, Practice, Feast, Court). Gathering types can be marked as clonable to serve as templates.
Table of Contents
Properties
- $branch_id : int|null
- $clonable : bool
- $color : string
- $created : DateTime
- $description : string|null
- $gathering_activities : array<string|int, GatheringActivity>
- $gatherings : array<string|int, Gathering>
- $id : int
- $modified : DateTime
- $name : string
- $_accessible : array<string, bool>
- Fields that can be mass assigned using newEntity() or patchEntity().
Methods
- getBranchId() : int|null
- Get the branch ID for authorization checks.
Properties
$branch_id
public
int|null
$branch_id
Associated branch ID (when applicable)
$clonable
public
bool
$clonable
$color
public
string
$color
$created
public
DateTime
$created
$description
public
string|null
$description
$gathering_activities
public
array<string|int, GatheringActivity>
$gathering_activities
$gatherings
public
array<string|int, Gathering>
$gatherings
$id
public
int
$id
$modified
public
DateTime
$modified
$name
public
string
$name
$_accessible
Fields that can be mass assigned using newEntity() or patchEntity().
protected
array<string, bool>
$_accessible
= ['name' => true, 'description' => true, 'color' => true, 'clonable' => true, 'created' => true, 'modified' => true, 'gatherings' => true, 'gathering_activities' => true]
Methods
getBranchId()
Get the branch ID for authorization checks.
public
getBranchId() : int|null
Child classes should override for complex branch relationships.
Return values
int|null —The branch ID, or null if no association