mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 23:16:03 +00:00
methods
This commit is contained in:
@@ -58,9 +58,11 @@ class Call extends Entity
|
||||
return $this->getValueObject('dateStart');
|
||||
}
|
||||
|
||||
public function setDateStart(?DateTime $dateStart): void
|
||||
public function setDateStart(?DateTime $dateStart): self
|
||||
{
|
||||
$this->setValueObject('dateStart', $dateStart);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateEnd(): ?DateTime
|
||||
@@ -69,9 +71,18 @@ class Call extends Entity
|
||||
return $this->getValueObject('dateEnd');
|
||||
}
|
||||
|
||||
public function setDateEnd(?DateTime $dateEnd): void
|
||||
public function setDateEnd(?DateTime $dateEnd): self
|
||||
{
|
||||
$this->setValueObject('dateEnd', $dateEnd);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setAssignedUserId(?string $assignedUserId): self
|
||||
{
|
||||
$this->set('assignedUserId', $assignedUserId);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCreatedBy(): ?Link
|
||||
|
||||
@@ -63,9 +63,11 @@ class Meeting extends Entity
|
||||
return $this->getValueObject('dateStart');
|
||||
}
|
||||
|
||||
public function setDateStart(?DateTimeOptional $dateStart): void
|
||||
public function setDateStart(?DateTimeOptional $dateStart): self
|
||||
{
|
||||
$this->setValueObject('dateStart', $dateStart);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateEnd(): ?DateTimeOptional
|
||||
@@ -74,9 +76,18 @@ class Meeting extends Entity
|
||||
return $this->getValueObject('dateEnd');
|
||||
}
|
||||
|
||||
public function setDateEnd(?DateTimeOptional $dateEnd): void
|
||||
public function setDateEnd(?DateTimeOptional $dateEnd): self
|
||||
{
|
||||
$this->setValueObject('dateEnd', $dateEnd);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setAssignedUserId(?string $assignedUserId): self
|
||||
{
|
||||
$this->set('assignedUserId', $assignedUserId);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getCreatedBy(): ?Link
|
||||
|
||||
Reference in New Issue
Block a user