예제 #1
0
 /**
  * @return GroupsHistoryPayload
  */
 protected function createPayload()
 {
     $payload = new GroupsHistoryPayload();
     $payload->setGroupId($this->input->getArgument('group-id'));
     $payload->setLatest($this->input->getOption('latest'));
     $payload->setOldest($this->input->getOption('oldest'));
     $payload->setCount($this->input->getOption('count'));
     return $payload;
 }
예제 #2
0
 /**
  * @inheritdoc
  */
 protected function createPayload()
 {
     $payload = new GroupsHistoryPayload();
     $payload->setGroupId('G1234567');
     $payload->setCount(10);
     $payload->setOldest('12345678.12345678');
     $payload->setLatest('12345678.12345678');
     return $payload;
 }