MediaWiki master
Wikimedia\WRStats\SequenceSpec Class Reference

Class representation of normalized sequence specifications. More...

Public Member Functions

 __construct (array $spec)
 

Public Attributes

int $hardExpiry
 
string $name
 
float int $softExpiry
 
float int $timeStep
 
const DEFAULT_EXPIRY = 3600
 The default expiry time (seconds)
 
const DEFAULT_TIME_STEP = 600
 The default time bucket size (seconds)
 

Detailed Description

Class representation of normalized sequence specifications.

Access: internal

Definition at line 10 of file SequenceSpec.php.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\WRStats\SequenceSpec::__construct ( array $spec)

Member Data Documentation

◆ $hardExpiry

int Wikimedia\WRStats\SequenceSpec::$hardExpiry

Definition at line 24 of file SequenceSpec.php.

◆ $name

string Wikimedia\WRStats\SequenceSpec::$name

Definition at line 18 of file SequenceSpec.php.

◆ $softExpiry

float int Wikimedia\WRStats\SequenceSpec::$softExpiry

Definition at line 22 of file SequenceSpec.php.

◆ $timeStep

float int Wikimedia\WRStats\SequenceSpec::$timeStep

Definition at line 20 of file SequenceSpec.php.

◆ DEFAULT_EXPIRY

const Wikimedia\WRStats\SequenceSpec::DEFAULT_EXPIRY = 3600

The default expiry time (seconds)

Definition at line 15 of file SequenceSpec.php.

Referenced by Wikimedia\WRStats\SequenceSpec\__construct().

◆ DEFAULT_TIME_STEP

const Wikimedia\WRStats\SequenceSpec::DEFAULT_TIME_STEP = 600

The default time bucket size (seconds)

Definition at line 12 of file SequenceSpec.php.

Referenced by Wikimedia\WRStats\SequenceSpec\__construct().


The documentation for this class was generated from the following file: