Пример #1
0
 /**
  * @inheritdoc
  *
  * @param FilesUploadPayload $payload
  */
 protected function getExpectedPayloadData(PayloadInterface $payload)
 {
     return ['title' => $payload->getTitle(), 'content' => $payload->getContent(), 'filename' => $payload->getFilename(), 'file_type' => $payload->getFileType(), 'channels' => $payload->getChannelsAsString()];
 }