/**
  * {@inheritdoc}
  */
 protected function createPayload()
 {
     $payload = new ChannelsListPayload();
     $payload->setExcludeArchived(true);
     return $payload;
 }
Пример #2
0
 /**
  * @return ChannelsListPayload
  */
 protected function createPayload()
 {
     $payload = new ChannelsListPayload();
     $payload->setExcludeArchived($this->input->getOption('exclude-archived'));
     return $payload;
 }