SitemapIntervalMultiplier extends Enum
in package

This is the sitemap interval multiplier enumerate.

Tags
see
Enum

Table of Contents

DAYS  = 'DAYS'
HOURS  = 'HOURS'
WEEKS  = 'WEEKS'
getMultiplier() Returns the numeric value for the given key value of the enumerate.  : int|null
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

Methods

getMultiplier()

Returns the numeric value for the given key value of the enumerate.

public static getMultiplier(string $enumValue) : int|null
Parameters
$enumValue : string
Return values
int|null

getValues()

public static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed>

isValid()

Check if the given value is inside the called enumerate.

public static isValid(string $value) : bool
Parameters
$value : string

value to check

Return values
bool

Search results