public function getCustom($event, $properties = [])
    {
        $properties = empty($properties) ? [] : [PayloadProperties::PROPERTIES => $properties];

        return $this->getTrackPayload($event, $properties);
    }
public function getCustom($event, $properties = [])
    {
        $properties = empty($properties) ? [] : [PayloadProperties::PROPERTIES => $properties];

        return $this->getTrackPayload($event, $properties);
    }
public function getCustom ( $ event , $ properties = [ ] ) { $ properties = empty ( $ properties ) ? [ ] : [ PayloadProperties :: PROPERTIES => $ properties ] ; return $ this -> getTrackPayload ( $ event , $ properties ) ; }
Generates payload for custom events

@param $event
@param array $properties
@return array
Generates payload for custom events