private function setArticleRenditions($renditions) { foreach ($renditions as $rendition) { $this->renditions[$rendition->getName()] = $rendition; } }