Skip to content

Commit

Permalink
#5 minor property name's correction
Browse files Browse the repository at this point in the history
  • Loading branch information
automatix committed Jul 1, 2018
1 parent 6971dca commit 2011172
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions src/Base/Entity/Answer.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ class Answer extends AbstractEntity
* }
* )
*/
private $semanticalMessageStack;
private $semanticalMessageStacks;

public function __construct()
{
parent::__construct();
$this->semanticalMessageStack = new ArrayCollection();
$this->semanticalMessageStacks = new ArrayCollection();
}

public function getText(): ?string
Expand Down Expand Up @@ -98,23 +98,23 @@ public function setQuestion(?QuestionTask $question): self
/**
* @return Collection|SemanticalMessageStack[]
*/
public function getSemanticalMessageStack(): Collection
public function getSemanticalMessageStacks(): Collection
{
return $this->semanticalMessageStack;
return $this->semanticalMessageStacks;
}

public function addSemanticalMessageStack(SemanticalMessageStack $semanticalMessageStack): self
{
if (!$this->semanticalMessageStack->contains($semanticalMessageStack)) {
$this->semanticalMessageStack[] = $semanticalMessageStack;
if (!$this->semanticalMessageStacks->contains($semanticalMessageStack)) {
$this->semanticalMessageStacks[] = $semanticalMessageStack;
}
return $this;
}

public function removeSemanticalMessageStack(SemanticalMessageStack $semanticalMessageStack): self
{
if ($this->semanticalMessageStack->contains($semanticalMessageStack)) {
$this->semanticalMessageStack->removeElement($semanticalMessageStack);
if ($this->semanticalMessageStacks->contains($semanticalMessageStack)) {
$this->semanticalMessageStacks->removeElement($semanticalMessageStack);
}
return $this;
}
Expand Down
16 changes: 8 additions & 8 deletions src/Base/Entity/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ abstract class Process extends AbstractEntity
* }
* )
*/
private $processMessageStack;
private $processMessageStacks;

public function __construct()
{
parent::__construct();
$this->processMessageStack = new ArrayCollection();
$this->processMessageStacks = new ArrayCollection();
}

public function getOrder(): ?int
Expand Down Expand Up @@ -90,23 +90,23 @@ public function setParent(?self $parent): self
/**
* @return Collection|ProcessMessageStack[]
*/
public function getProcessMessageStack(): Collection
public function getProcessMessageStacks(): Collection
{
return $this->processMessageStack;
return $this->processMessageStacks;
}

public function addProcessMessageStack(ProcessMessageStack $processMessageStack): self
{
if (!$this->processMessageStack->contains($processMessageStack)) {
$this->processMessageStack[] = $processMessageStack;
if (!$this->processMessageStacks->contains($processMessageStack)) {
$this->processMessageStacks[] = $processMessageStack;
}
return $this;
}

public function removeProcessMessageStack(ProcessMessageStack $processMessageStack): self
{
if ($this->processMessageStack->contains($processMessageStack)) {
$this->processMessageStack->removeElement($processMessageStack);
if ($this->processMessageStacks->contains($processMessageStack)) {
$this->processMessageStacks->removeElement($processMessageStack);
}
return $this;
}
Expand Down
16 changes: 8 additions & 8 deletions src/Base/Entity/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ abstract class Task extends AbstractEntity
* }
* )
*/
private $semanticalMessageStack;
private $semanticalMessageStacks;

public function __construct()
{
parent::__construct();
$this->semanticalMessageStack = new ArrayCollection();
$this->semanticalMessageStacks = new ArrayCollection();
}

public function getTaskStep(): ?TaskStep
Expand All @@ -67,23 +67,23 @@ public function setTaskStep(?TaskStep $taskStep): self
/**
* @return Collection|SemanticalMessageStack[]
*/
public function getSemanticalMessageStack(): Collection
public function getSemanticalMessageStacks(): Collection
{
return $this->semanticalMessageStack;
return $this->semanticalMessageStacks;
}

public function addSemanticalMessageStack(SemanticalMessageStack $semanticalMessageStack): self
{
if (!$this->semanticalMessageStack->contains($semanticalMessageStack)) {
$this->semanticalMessageStack[] = $semanticalMessageStack;
if (!$this->semanticalMessageStacks->contains($semanticalMessageStack)) {
$this->semanticalMessageStacks[] = $semanticalMessageStack;
}
return $this;
}

public function removeSemanticalMessageStack(SemanticalMessageStack $semanticalMessageStack): self
{
if ($this->semanticalMessageStack->contains($semanticalMessageStack)) {
$this->semanticalMessageStack->removeElement($semanticalMessageStack);
if ($this->semanticalMessageStacks->contains($semanticalMessageStack)) {
$this->semanticalMessageStacks->removeElement($semanticalMessageStack);
}
return $this;
}
Expand Down

0 comments on commit 2011172

Please sign in to comment.