public function setSize($size) { $this->size = $size; $this->pixelRatio = round($size / 5); return $this; }