コード例 #1
0
 /**
  * @return GroupsInvitePayload
  */
 protected function createPayload()
 {
     $payload = new GroupsInvitePayload();
     $payload->setGroupId($this->input->getArgument('group-id'));
     $payload->setUserId($this->input->getArgument('user-id'));
     return $payload;
 }
コード例 #2
0
 /**
  * @inheritdoc
  */
 protected function createPayload()
 {
     $payload = new GroupsInvitePayload();
     $payload->setGroupId('G1234567');
     $payload->setUserId('U1234567');
     return $payload;
 }