示例#1
0
 /**
  * @param LocalizedFallbackValue $title
  *
  * @return $this
  */
 public function removeTitle(LocalizedFallbackValue $title)
 {
     if ($this->titles->contains($title)) {
         $this->titles->removeElement($title);
     }
     return $this;
 }
示例#2
0
 /**
  * @param LocalizedFallbackValue $description
  *
  * @return $this
  */
 public function removeDescription(LocalizedFallbackValue $description)
 {
     if ($this->descriptions->contains($description)) {
         $this->descriptions->removeElement($description);
     }
     return $this;
 }