final class ContentDimensionValueSpecializationDepth implements JsonSerializable (View source)

internal  
 

The value object describing the specialization depth between two content dimension values

0 --> A ◀─┐ 1 --> │ │ B │ <-- 2 1 --> │ │ C ──┘

Methods

__construct(int $value)

No description

bool
bool
isZero()

No description

int
jsonSerialize()

No description

Details

__construct(int $value)

No description

Parameters

int $value

Exceptions

ContentDimensionValueSpecializationDepthIsInvalid

bool isGreaterThan(ContentDimensionValueSpecializationDepth $otherDepth)

No description

Parameters

ContentDimensionValueSpecializationDepth $otherDepth

Return Value

bool

bool isZero()

No description

Return Value

bool

int jsonSerialize()

No description

Return Value

int