protected function getPostBody() { $postBody = ['movie' => $this->media->getStandardFields(), 'comment' => (string) $this->comment, 'spoiler' => false, 'review' => $this->isReview()]; return $postBody; }
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(); }