Documentation

Period
in package
implements Period, JsonSerializable

Class Period

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\PeriodRepository")

ORM\Table

(name="period")

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
ORM\OneToMany

(targetEntity="Entry", mappedBy="period")

$id

private int|null $id
Tags
ORM\Id

()

ORM\GeneratedValue

()

ORM\Column

(type="integer")

$label

private string|null $label
Tags
ORM\Column

(type="string", length=64)

$reportIntentions

private array<string|int, ReportIntention>|null $reportIntentions
Tags
ORM\OneToMany

(targetEntity="ReportIntention", mappedBy="period")

$reportObligations

private array<string|int, ReportObligation>|null $reportObligations
Tags
ORM\OneToMany

(targetEntity="ReportObligation", mappedBy="period")

Methods

getEntries()

public getEntries() : array<string|int, Entry>|null
Return values
array<string|int, Entry>|null

getId()

public getId() : int|null
Return values
int|null

getLabel()

public getLabel() : string|null
Return values
string|null

isQuarterly()

public isQuarterly() : bool
Return values
bool

isYearly()

public isYearly() : bool
Return values
bool

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

        
On this page

Search results