FEATURE [center][isActive] add getter and setter + integrate into template

This commit is contained in:
2023-09-06 15:56:04 +02:00
parent 6301505563
commit 7c7c5862c6
2 changed files with 20 additions and 8 deletions

View File

@@ -126,6 +126,11 @@ class Center implements HasCenterInterface
return $this->regroupments;
}
public function getIsActive(): bool
{
return $this->isActive;
}
/**
* @param $name
*
@@ -137,4 +142,11 @@ class Center implements HasCenterInterface
return $this;
}
public function setIsActive(bool $isActive): self
{
$this->isActive = $isActive;
return $this;
}
}