Пример #1
0
 protected function getPostBody()
 {
     $postBody = ['movie' => $this->media->getStandardFields(), 'comment' => (string) $this->comment, 'spoiler' => false, 'review' => $this->isReview()];
     return $postBody;
 }
Пример #2
0
 public function __construct($json, $clientId, AccessToken $token, ClientInterface $client)
 {
     parent::__construct($json, $clientId, $token, $client);
     $this->media = $this->json->episode;
 }
 protected function getPostBody()
 {
     return $this->media->getStandardFields();
 }