id = $id; $this->name = $name; $this->taille = $taille; $this->type = $type; $this->blob = $blob; } public function getName(): string { return $this->name; } public function getTaille(): string { return $this->taille; } public function getType(): string { return $this->type; } public function getBlob(): string { return $this->blob; } public function getId() : string { return $this->id; } public function toString() : string { return "Image : " . $this->name . " " . $this->taille . " " . $this->type . " blob " . $this->blob; } }