public function __construct($articleNumber, Rendition $rendition, ImageInterface $image, $imageSpecs = null) { $this->articleNumber = (int) $articleNumber; $this->rendition = $rendition; $this->image = $image; $this->imageSpecs = $imageSpecs; }