LineSpacingRule
extends AbstractEnum
in package
FinalYes
Line Spacing Rule.
Tags
Table of Contents
Constants
- AT_LEAST = 'atLeast'
- Minimum Line Height.
- AUTO = 'auto'
- Automatically Determined Line Height.
- EXACT = 'exact'
- Exact Line Height.
Properties
- $constCacheArray : mixed
Methods
- isValid() : bool
- Returns true the value is valid for this enum.
- validate() : void
- Validates that the value passed is a valid value.
- values() : array<string|int, mixed>
- Returns all values for this enum.
- getConstants() : mixed
Constants
AT_LEAST
Minimum Line Height.
public
mixed
AT_LEAST
= 'atLeast'
AUTO
Automatically Determined Line Height.
public
mixed
AUTO
= 'auto'
EXACT
Exact Line Height.
public
mixed
EXACT
= 'exact'
Properties
$constCacheArray
private
static mixed
$constCacheArray
Methods
isValid()
Returns true the value is valid for this enum.
public
static isValid(string $value) : bool
Parameters
- $value : string
Return values
bool —true if value is valid
validate()
Validates that the value passed is a valid value.
public
static validate(string $value) : void
Parameters
- $value : string
values()
Returns all values for this enum.
public
static values() : array<string|int, mixed>
Return values
array<string|int, mixed>getConstants()
private
static getConstants() : mixed