HH\Pair::immutable

Returns an immutable version of this collection.

Description

public function immutable(): this

Returns an immutable version of this collection.

Because a Pair is immutable by default, this just returns the current object.

Return Values