/** * Create a full attachment record payload. * * This includes the from_field_id in the attachment payload * * @param int $key * @param mixed $value * @param array $attributes * @param bool $timed * @return array */ protected function attacher($key, $value, $attributes, $timed) { if (empty($attributes)) { $attributes = [static::$fromFieldKey => $this->fromFieldId]; } return parent::attacher($key, $value, $attributes, $timed); }