original_string: public function getIdentify($email, $name = '', $properties = [])
      {
          if (!$email) {
              throw new InvalidArgumentException('E-mail cannot be empty or null');
          }
  
          //props that we will combine with default props
          $props = [
              PayloadProperties::EMAIL => Encryption::decode($email)
          ];
  
          if ($name) {
              $props[PayloadProperties::NAME] = $name;
          }
  
          if ($properties) {
              $props[PayloadProperties::PROPERTIES] = $properties;
          }
  
          return $this->getTrackPayload(ActionTypes::IDENTIFY, $props);
      }
code: public function getIdentify($email, $name = '', $properties = [])
      {
          if (!$email) {
              throw new InvalidArgumentException('E-mail cannot be empty or null');
          }
  
          //props that we will combine with default props
          $props = [
              PayloadProperties::EMAIL => Encryption::decode($email)
          ];
  
          if ($name) {
              $props[PayloadProperties::NAME] = $name;
          }
  
          if ($properties) {
              $props[PayloadProperties::PROPERTIES] = $properties;
          }
  
          return $this->getTrackPayload(ActionTypes::IDENTIFY, $props);
      }
code_tokens: public function getIdentify ( $ email , $ name = '' , $ properties = [ ] ) { if ( ! $ email ) { throw new InvalidArgumentException ( 'E-mail cannot be empty or null' ) ; } //props that we will combine with default props $ props = [ PayloadProperties :: EMAIL => Encryption :: decode ( $ email ) ] ; if ( $ name ) { $ props [ PayloadProperties :: NAME ] = $ name ; } if ( $ properties ) { $ props [ PayloadProperties :: PROPERTIES ] = $ properties ; } return $ this -> getTrackPayload ( ActionTypes :: IDENTIFY , $ props ) ; }
docstring: Generates payload for identify events
  
  @param $email
  @param string $name
  @param array $properties
  @return array
  @throws InvalidArgumentException
docstring_tokens: Generates payload for identify events