/**
  * Offset to unset
  * @link http://php.net/manual/en/arrayaccess.offsetunset.php
  *
  * @param mixed $offset <p>
  * The offset to unset.
  * </p>
  *
  * @return void
  * @since 5.0.0
  */
 public function offsetUnset($offset)
 {
     $this->fields->offsetUnset($offset);
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function hasField(BaseFieldValueInterface $field)
 {
     return $this->fields->contains($field);
 }
Пример #3
0
 /**
  * {@inheritdoc}
  */
 public function hasField(FieldInterface $field)
 {
     return $this->fields->contains($field);
 }