original_string: public function getCustom($event, $properties = [])
      {
          $properties = empty($properties) ? [] : [PayloadProperties::PROPERTIES => $properties];
  
          return $this->getTrackPayload($event, $properties);
      }
code: public function getCustom($event, $properties = [])
      {
          $properties = empty($properties) ? [] : [PayloadProperties::PROPERTIES => $properties];
  
          return $this->getTrackPayload($event, $properties);
      }
code_tokens: public function getCustom ( $ event , $ properties = [ ] ) { $ properties = empty ( $ properties ) ? [ ] : [ PayloadProperties :: PROPERTIES => $ properties ] ; return $ this -> getTrackPayload ( $ event , $ properties ) ; }
docstring: Generates payload for custom events
  
  @param $event
  @param array $properties
  @return array
docstring_tokens: Generates payload for custom events