Skip to content

Commit

Permalink
modif
Browse files Browse the repository at this point in the history
  • Loading branch information
mhetru authored Jun 26, 2023
1 parent fa8e6fb commit c0fcc83
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Entity/LdapUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class LdapUser extends Entity implements UserInterface {
protected $eduPersonAffiliation;

/**
* @OLO\Column(type="string")
* @OLO\Column(type="array")
*/
protected $supannEmpCorps;

Expand Down Expand Up @@ -275,8 +275,13 @@ public function getSupannEmpCorps() {
return $this->supannEmpCorps;
}

public function setSupannEmpCorps($value) {
$this->supannEmpCorps = $value;
public function addSupannEmpCorps($value) {
$this->supannEmpCorps->add($value);
return $this;
}

public function removeSupannEmpCorps($value) {
$this->supannEmpCorps->removeElement($value);
return $this;
}
}
Expand Down

0 comments on commit c0fcc83

Please sign in to comment.