public function getRenditions() { if (count($this->renditions) == 0) { return; } return $this->renditions; }