/**
  * @return GroupsSetTopicPayload
  */
 protected function createPayload()
 {
     $payload = new GroupsSetTopicPayload();
     $payload->setGroupId($this->input->getArgument('group-id'));
     $payload->setTopic($this->input->getArgument('topic'));
     return $payload;
 }
Exemplo n.º 2
0
 /**
  * @inheritdoc
  */
 protected function createPayload()
 {
     $payload = new GroupsSetTopicPayload();
     $payload->setGroupId('G1234567');
     $payload->setTopic('new_topic');
     return $payload;
 }