ConstSet::keys

Returns a ConstVector containing the values of the current ConstSet

Description

public function keys(): ConstVector<mixed>

Sets don't have keys, so this will return the values.

This method is interchangeable with values().

Return Values