Model/MediaResponse.php
public function setChildMedias(array $childMedias)
    {
        $this->childMedias = [];

        foreach ($childMedias as $item) {
            $this->addself($item);
        }

        return $this;
    }
public function setChildMedias(array $childMedias)
    {
        $this->childMedias = [];

        foreach ($childMedias as $item) {
            $this->addself($item);
        }

        return $this;
    }
Sets the "childMedias" of the MediaResponse.

@param self[] $childMedias

@return MediaResponse