trait HasDuration (View source)

Properties

protected int|string|Closure $duration

Methods

duration(int|string|Closure|null $duration)

No description

int|string
getDuration()

No description

seconds(float $seconds)

No description

persistent()

No description

Details

HasDuration duration(int|string|Closure|null $duration)

No description

Parameters

int|string|Closure|null $duration

Return Value

HasDuration

int|string getDuration()

No description

Return Value

int|string

HasDuration seconds(float $seconds)

No description

Parameters

float $seconds

Return Value

HasDuration

HasDuration persistent()

No description

Return Value

HasDuration