class SemanticPostfixedData extends ArrayObject implements StringRepresentation, ComparableInterface (View source)

Pre-release and build metadata parts

Methods

__construct(mixed $data)

No description

string
__toString()

Dot separated part string

offsetSet($offset, $value)

No description

set(array|string $data)

Set version part content

append($value)

No description

integer
compare(SemanticPostfixedData $data)

No description

Details

__construct(mixed $data)

Parameters

mixed $data

string __toString()

Dot separated part string

Return Value

string The string representation of the class instance

offsetSet($offset, $value)

Parameters

$offset
$value

set(array|string $data)

Set version part content

Parameters

array|string $data Dot-separated string representation or array of parts

Exceptions

InvalidArgumentException

append($value)

Parameters

$value

integer compare(SemanticPostfixedData $data)

Parameters

SemanticPostfixedData $data

Return Value

integer One of

  • < 0 If instance value is less than $value
  • 0 if instance and $value are equal
  • > 0 if instance value is greater than $value
    The meaning of "less", "equal" and "greater" depends on class value type.

Exceptions

NotComparableException::