public function __construct(\Adresse $adresse) { parent::__construct($adresse->getVars()); $this->pk = 'id'; $this->table = 'adresse'; }