\PhpOffice\PhpWord\SharedAbstractEnum

Summary

Methods
Properties
Constants
values()
isValid()
validate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getConstants()
$constCacheArray
N/A

Properties

$constCacheArray

$constCacheArray : 

Type

Methods

values()

values() : array

Returns all values for this enum

Returns

array

isValid()

isValid(string  $value) : boolean

Returns true the value is valid for this enum

Parameters

string $value

Returns

boolean —

true if value is valid

validate()

validate(string  $value) 

Validates that the value passed is a valid value

Parameters

string $value

Throws

\InvalidArgumentException

if the value passed is not valid for this enum

getConstants()

getConstants()