/** * 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); }
/** * {@inheritdoc} */ public function hasField(BaseFieldValueInterface $field) { return $this->fields->contains($field); }
/** * {@inheritdoc} */ public function hasField(FieldInterface $field) { return $this->fields->contains($field); }