private function getFieldCopyToProperties(FieldInterface $field) { $copyTo = []; foreach ($this->copyFieldMap as $method => $targetField) { if ($field->{$method}()) { $copyTo[] = $targetField; } } return $copyTo; }