Period
in package
implements
Period, JsonSerializable
Class Period
Tags
Table of Contents
Interfaces
- Period
- JsonSerializable
Properties
- $entries : array<string|int, Entry>|null
- $id : int|null
- $label : string|null
- $reportIntentions : array<string|int, ReportIntention>|null
- $reportObligations : array<string|int, ReportObligation>|null
Methods
- getEntries() : array<string|int, Entry>|null
- getId() : int|null
- getLabel() : string|null
- getReportIntentions() : array<string|int, ReportIntention>|null
- getReportObligations() : array<string|int, ReportObligation>|null
- isQuarterly() : bool
- isYearly() : bool
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setEntries() : void
- setId() : void
- setLabel() : void
- setReportIntentions() : void
- setReportObligations() : void
Properties
$entries
private
array<string|int, Entry>|null
$entries
Tags
$id
private
int|null
$id
Tags
$label
private
string|null
$label
Tags
$reportIntentions
private
array<string|int, ReportIntention>|null
$reportIntentions
Tags
$reportObligations
private
array<string|int, ReportObligation>|null
$reportObligations
Tags
Methods
getEntries()
public
getEntries() : array<string|int, Entry>|null
Return values
array<string|int, Entry>|nullgetId()
public
getId() : int|null
Return values
int|nullgetLabel()
public
getLabel() : string|null
Return values
string|nullgetReportIntentions()
public
getReportIntentions() : array<string|int, ReportIntention>|null
Return values
array<string|int, ReportIntention>|nullgetReportObligations()
public
getReportObligations() : array<string|int, ReportObligation>|null
Return values
array<string|int, ReportObligation>|nullisQuarterly()
public
isQuarterly() : bool
Return values
boolisYearly()
public
isYearly() : bool
Return values
booljsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setEntries()
public
setEntries(array<string|int, Entry>|Collection|null $entries) : void
Parameters
- $entries : array<string|int, Entry>|Collection|null
setId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setLabel()
public
setLabel(string|null $label) : void
Parameters
- $label : string|null
setReportIntentions()
public
setReportIntentions(array<string|int, ReportIntention>|Collection|null $reportIntentions) : void
Parameters
- $reportIntentions : array<string|int, ReportIntention>|Collection|null
setReportObligations()
public
setReportObligations(array<string|int, ReportObligation>|Collection|null $reportObligations) : void
Parameters
- $reportObligations : array<string|int, ReportObligation>|Collection|null