phpDocumentor

PreferredPeriod
in package
implements JsonSerializable

Interfaces, Classes and Traits

JsonSerializable

Table of Contents

$period  : string
$periods  : array<string|int, string>
__construct()  : mixed
Constructor.
jsonSerialize()  : string
value()  : string
Return value.

Properties

$periods

private array<string|int, string> $periods = ['today', 'thisweek', 'last7days', 'thismonth', 'last28days', 'thisyear', 'last12months']

Methods

__construct()

Constructor.

public __construct(string $period) : mixed
Parameters
$period : string
Return values
mixed

jsonSerialize()

public jsonSerialize() : string
Tags
inheritDoc
Return values
string

value()

Return value.

public value() : string
Return values
string

Search results