suppression du fichier vocabulaire

php
Lucie GOIGOUX 2 years ago
parent 483f168b46
commit 110f9ce172

@ -1,24 +0,0 @@
<?php
namespace model;
class Vocabulary
{
frozen protected String $id;
protected String $nom;
protected Picture $picture;
frozen protected User $creator;
public function __construct(string $id, string $nom, Picture $picture, user $creator)
{
$this->id = $id;
$this->nom = $nom;
$this->picture = $picture;
$this->creator = $creator;
}
protected function changePicture(Picture $newImg){
$this->picture = $newImg;
}
}
Loading…
Cancel
Save