code: protected function fill($array)
      {
          if (is_null($array['file'])) {
              return;
          }
          
          $this->originalImage = ImageManager::make($array['file']);
          $this->image = $this->format($this->originalImage, $this->properties);
          
          $this->name = ($array['name']) ? $array['name'] : uniqid();
      }
docs: Fill object
  
  @return void