public function getPropertyNames(
        Context $context,
        int $mode = KeyCollectionMode::kOwnOnly,
        int $property_filter = PropertyFilter::ALL_PROPERTIES,
        int $index_filter = IndexFilter::kIncludeIndices,
        bool $convert_to_strings = false
    ): ArrayObject {
    }
public function getPropertyNames(
        Context $context,
        int $mode = KeyCollectionMode::kOwnOnly,
        int $property_filter = PropertyFilter::ALL_PROPERTIES,
        int $index_filter = IndexFilter::kIncludeIndices,
        bool $convert_to_strings = false
    ): ArrayObject {
    }
public function getPropertyNames ( Context $ context , int $ mode = KeyCollectionMode :: kOwnOnly , int $ property_filter = PropertyFilter :: ALL_PROPERTIES , int $ index_filter = IndexFilter :: kIncludeIndices , bool $ convert_to_strings = false ) : ArrayObject { }
Returns an array containing the names of the enumerable properties
of this object, including properties from prototype objects.  The
array returned by this method contains the same values as would
be enumerated by a for-in statement over this object.

@param Context $context
@param int     $mode One of KeyCollectionMode options
@param int     $property_filter One or multiple PropertyFilter options
@param int     $index_filter One or multiple IndexFilter options
@param bool    $convert_to_strings Convert integer indices to strings

@return ArrayObject
Returns an array containing the names of the enumerable properties of this object including properties from prototype objects . The array returned by this method contains the same values as would be enumerated by a for - in statement over this object .