mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Method setX with return this (and not void)
This commit is contained in:
parent
0f635ca51a
commit
743d6cd0bf
@ -313,9 +313,11 @@ class ActivityType
|
||||
return $this->category;
|
||||
}
|
||||
|
||||
public function setCategory(?ActivityTypeCategory $category): void
|
||||
public function setCategory(?ActivityTypeCategory $category): self
|
||||
{
|
||||
$this->category = $category;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPersonVisible(): int
|
||||
@ -323,9 +325,11 @@ class ActivityType
|
||||
return $this->personVisible;
|
||||
}
|
||||
|
||||
public function setPersonVisible(int $personVisible): void
|
||||
public function setPersonVisible(int $personVisible): self
|
||||
{
|
||||
$this->personVisible = $personVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPersonLabel(): string
|
||||
@ -333,9 +337,11 @@ class ActivityType
|
||||
return $this->personLabel;
|
||||
}
|
||||
|
||||
public function setPersonLabel(string $personLabel): void
|
||||
public function setPersonLabel(string $personLabel): self
|
||||
{
|
||||
$this->personLabel = $personLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUserVisible(): int
|
||||
@ -343,9 +349,11 @@ class ActivityType
|
||||
return $this->userVisible;
|
||||
}
|
||||
|
||||
public function setUserVisible(int $userVisible): void
|
||||
public function setUserVisible(int $userVisible): self
|
||||
{
|
||||
$this->userVisible = $userVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUserLabel(): string
|
||||
@ -353,9 +361,11 @@ class ActivityType
|
||||
return $this->userLabel;
|
||||
}
|
||||
|
||||
public function setUserLabel(string $userLabel): void
|
||||
public function setUserLabel(string $userLabel): self
|
||||
{
|
||||
$this->userLabel = $userLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateVisible(): int
|
||||
@ -363,9 +373,11 @@ class ActivityType
|
||||
return $this->dateVisible;
|
||||
}
|
||||
|
||||
public function setDateVisible(int $dateVisible): void
|
||||
public function setDateVisible(int $dateVisible): self
|
||||
{
|
||||
$this->dateVisible = $dateVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateLabel(): string
|
||||
@ -373,9 +385,11 @@ class ActivityType
|
||||
return $this->dateLabel;
|
||||
}
|
||||
|
||||
public function setDateLabel(string $dateLabel): void
|
||||
public function setDateLabel(string $dateLabel): self
|
||||
{
|
||||
$this->dateLabel = $dateLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPlaceVisible(): int
|
||||
@ -383,9 +397,11 @@ class ActivityType
|
||||
return $this->placeVisible;
|
||||
}
|
||||
|
||||
public function setPlaceVisible(int $placeVisible): void
|
||||
public function setPlaceVisible(int $placeVisible): self
|
||||
{
|
||||
$this->placeVisible = $placeVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPlaceLabel(): string
|
||||
@ -393,9 +409,11 @@ class ActivityType
|
||||
return $this->placeLabel;
|
||||
}
|
||||
|
||||
public function setPlaceLabel(string $placeLabel): void
|
||||
public function setPlaceLabel(string $placeLabel): self
|
||||
{
|
||||
$this->placeLabel = $placeLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPersonsVisible(): int
|
||||
@ -403,9 +421,11 @@ class ActivityType
|
||||
return $this->personsVisible;
|
||||
}
|
||||
|
||||
public function setPersonsVisible(int $personsVisible): void
|
||||
public function setPersonsVisible(int $personsVisible): self
|
||||
{
|
||||
$this->personsVisible = $personsVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPersonsLabel(): string
|
||||
@ -413,9 +433,11 @@ class ActivityType
|
||||
return $this->personsLabel;
|
||||
}
|
||||
|
||||
public function setPersonsLabel(string $personsLabel): void
|
||||
public function setPersonsLabel(string $personsLabel): self
|
||||
{
|
||||
$this->personsLabel = $personsLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getThirdPartiesVisible(): int
|
||||
@ -423,9 +445,11 @@ class ActivityType
|
||||
return $this->thirdPartiesVisible;
|
||||
}
|
||||
|
||||
public function setThirdPartiesVisible(int $thirdPartiesVisible): void
|
||||
public function setThirdPartiesVisible(int $thirdPartiesVisible): self
|
||||
{
|
||||
$this->thirdPartiesVisible = $thirdPartiesVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getThirdPartiesLabel(): string
|
||||
@ -433,9 +457,11 @@ class ActivityType
|
||||
return $this->thirdPartiesLabel;
|
||||
}
|
||||
|
||||
public function setThirdPartiesLabel(string $thirdPartiesLabel): void
|
||||
public function setThirdPartiesLabel(string $thirdPartiesLabel): self
|
||||
{
|
||||
$this->thirdPartiesLabel = $thirdPartiesLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDurationTimeVisible(): int
|
||||
@ -443,9 +469,11 @@ class ActivityType
|
||||
return $this->durationTimeVisible;
|
||||
}
|
||||
|
||||
public function setDurationTimeVisible(int $durationTimeVisible): void
|
||||
public function setDurationTimeVisible(int $durationTimeVisible): self
|
||||
{
|
||||
$this->durationTimeVisible = $durationTimeVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDurationTimeLabel(): string
|
||||
@ -453,9 +481,11 @@ class ActivityType
|
||||
return $this->durationTimeLabel;
|
||||
}
|
||||
|
||||
public function setDurationTimeLabel(string $durationTimeLabel): void
|
||||
public function setDurationTimeLabel(string $durationTimeLabel): self
|
||||
{
|
||||
$this->durationTimeLabel = $durationTimeLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getTravelTimeVisible(): int
|
||||
@ -463,9 +493,11 @@ class ActivityType
|
||||
return $this->travelTimeVisible;
|
||||
}
|
||||
|
||||
public function setTravelTimeVisible(int $TravelTimeVisible): void
|
||||
public function setTravelTimeVisible(int $TravelTimeVisible): self
|
||||
{
|
||||
$this->travelTimeVisible = $TravelTimeVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getTravelTimeLabel(): string
|
||||
@ -473,9 +505,11 @@ class ActivityType
|
||||
return $this->travelTimeLabel;
|
||||
}
|
||||
|
||||
public function setTravelTimeLabel(string $TravelTimeLabel): void
|
||||
public function setTravelTimeLabel(string $TravelTimeLabel): self
|
||||
{
|
||||
$this->travelTimeLabel = $TravelTimeLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAttendeeVisible(): int
|
||||
@ -483,9 +517,11 @@ class ActivityType
|
||||
return $this->attendeeVisible;
|
||||
}
|
||||
|
||||
public function setAttendeeVisible(int $attendeeVisible): void
|
||||
public function setAttendeeVisible(int $attendeeVisible): self
|
||||
{
|
||||
$this->attendeeVisible = $attendeeVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAttendeeLabel(): string
|
||||
@ -493,9 +529,11 @@ class ActivityType
|
||||
return $this->attendeeLabel;
|
||||
}
|
||||
|
||||
public function setAttendeeLabel(string $attendeeLabel): void
|
||||
public function setAttendeeLabel(string $attendeeLabel): self
|
||||
{
|
||||
$this->attendeeLabel = $attendeeLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getReasonsVisible(): int
|
||||
@ -503,9 +541,11 @@ class ActivityType
|
||||
return $this->reasonsVisible;
|
||||
}
|
||||
|
||||
public function setReasonsVisible(int $reasonsVisible): void
|
||||
public function setReasonsVisible(int $reasonsVisible): self
|
||||
{
|
||||
$this->reasonsVisible = $reasonsVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getReasonsLabel(): string
|
||||
@ -513,9 +553,11 @@ class ActivityType
|
||||
return $this->reasonsLabel;
|
||||
}
|
||||
|
||||
public function setReasonsLabel(string $reasonsLabel): void
|
||||
public function setReasonsLabel(string $reasonsLabel): self
|
||||
{
|
||||
$this->reasonsLabel = $reasonsLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCommentVisible(): int
|
||||
@ -523,9 +565,11 @@ class ActivityType
|
||||
return $this->commentVisible;
|
||||
}
|
||||
|
||||
public function setCommentVisible(int $commentVisible): void
|
||||
public function setCommentVisible(int $commentVisible): self
|
||||
{
|
||||
$this->commentVisible = $commentVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCommentLabel(): string
|
||||
@ -533,9 +577,11 @@ class ActivityType
|
||||
return $this->commentLabel;
|
||||
}
|
||||
|
||||
public function setCommentLabel(string $commentLabel): void
|
||||
public function setCommentLabel(string $commentLabel): self
|
||||
{
|
||||
$this->commentLabel = $commentLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSentReceivedVisible(): int
|
||||
@ -543,9 +589,11 @@ class ActivityType
|
||||
return $this->sentReceivedVisible;
|
||||
}
|
||||
|
||||
public function setSentReceivedVisible(int $sentReceivedVisible): void
|
||||
public function setSentReceivedVisible(int $sentReceivedVisible): self
|
||||
{
|
||||
$this->sentReceivedVisible = $sentReceivedVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSentReceivedLabel(): string
|
||||
@ -553,9 +601,11 @@ class ActivityType
|
||||
return $this->sentReceivedLabel;
|
||||
}
|
||||
|
||||
public function setSentReceivedLabel(string $sentReceivedLabel): void
|
||||
public function setSentReceivedLabel(string $sentReceivedLabel): self
|
||||
{
|
||||
$this->sentReceivedLabel = $sentReceivedLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDocumentsVisible(): int
|
||||
@ -563,9 +613,11 @@ class ActivityType
|
||||
return $this->documentsVisible;
|
||||
}
|
||||
|
||||
public function setDocumentsVisible(int $documentsVisible): void
|
||||
public function setDocumentsVisible(int $documentsVisible): self
|
||||
{
|
||||
$this->documentsVisible = $documentsVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDocumentsLabel(): string
|
||||
@ -573,9 +625,11 @@ class ActivityType
|
||||
return $this->documentsLabel;
|
||||
}
|
||||
|
||||
public function setDocumentsLabel(string $documentsLabel): void
|
||||
public function setDocumentsLabel(string $documentsLabel): self
|
||||
{
|
||||
$this->documentsLabel = $documentsLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUsersVisible(): int
|
||||
@ -583,9 +637,11 @@ class ActivityType
|
||||
return $this->usersVisible;
|
||||
}
|
||||
|
||||
public function setUsersVisible(int $usersVisible): void
|
||||
public function setUsersVisible(int $usersVisible): self
|
||||
{
|
||||
$this->usersVisible = $usersVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getUsersLabel(): string
|
||||
@ -593,9 +649,11 @@ class ActivityType
|
||||
return $this->usersLabel;
|
||||
}
|
||||
|
||||
public function setUsersLabel(string $usersLabel): void
|
||||
public function setUsersLabel(string $usersLabel): self
|
||||
{
|
||||
$this->usersLabel = $usersLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getEmergencyVisible(): int
|
||||
@ -603,9 +661,11 @@ class ActivityType
|
||||
return $this->emergencyVisible;
|
||||
}
|
||||
|
||||
public function setEmergencyVisible(int $emergencyVisible): void
|
||||
public function setEmergencyVisible(int $emergencyVisible): self
|
||||
{
|
||||
$this->emergencyVisible = $emergencyVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getEmergencyLabel(): string
|
||||
@ -613,9 +673,11 @@ class ActivityType
|
||||
return $this->emergencyLabel;
|
||||
}
|
||||
|
||||
public function setEmergencyLabel(string $emergencyLabel): void
|
||||
public function setEmergencyLabel(string $emergencyLabel): self
|
||||
{
|
||||
$this->emergencyLabel = $emergencyLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAccompanyingPeriodVisible(): int
|
||||
@ -623,9 +685,11 @@ class ActivityType
|
||||
return $this->accompanyingPeriodVisible;
|
||||
}
|
||||
|
||||
public function setAccompanyingPeriodVisible(int $accompanyingPeriodVisible): void
|
||||
public function setAccompanyingPeriodVisible(int $accompanyingPeriodVisible): self
|
||||
{
|
||||
$this->accompanyingPeriodVisible = $accompanyingPeriodVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getAccompanyingPeriodLabel(): string
|
||||
@ -633,9 +697,11 @@ class ActivityType
|
||||
return $this->accompanyingPeriodLabel;
|
||||
}
|
||||
|
||||
public function setAccompanyingPeriodLabel(string $accompanyingPeriodLabel): void
|
||||
public function setAccompanyingPeriodLabel(string $accompanyingPeriodLabel): self
|
||||
{
|
||||
$this->accompanyingPeriodLabel = $accompanyingPeriodLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSocialDataVisible(): int
|
||||
@ -643,9 +709,11 @@ class ActivityType
|
||||
return $this->socialDataVisible;
|
||||
}
|
||||
|
||||
public function setSocialDataVisible(int $socialDataVisible): void
|
||||
public function setSocialDataVisible(int $socialDataVisible): self
|
||||
{
|
||||
$this->socialDataVisible = $socialDataVisible;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getSocialDataLabel(): string
|
||||
@ -653,9 +721,11 @@ class ActivityType
|
||||
return $this->socialDataLabel;
|
||||
}
|
||||
|
||||
public function setSocialDataLabel(string $socialDataLabel): void
|
||||
public function setSocialDataLabel(string $socialDataLabel): self
|
||||
{
|
||||
$this->socialDataLabel = $socialDataLabel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isVisible(string $field): bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user