. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; /** * NAME_PHONETIC_VARIATION := {Size=1:120} * The phonetic variation of the name is written in the same form as the was * the name used in the superior primitive, but phonetically * written using the method indicated by the subordinate value, * for example if hiragana was used to provide a reading of a name written in * kanji, then the value would indicate ‘kana’. See page 57. */ class NamePhoneticVariation extends NamePersonal { protected const SUBTAGS = [ 'TYPE' => '1:1', 'NPFX' => '0:1', 'GIVN' => '0:1', 'SPFX' => '0:1', 'SURN' => '0:1', 'NSFX' => '0:1', 'NICK' => '0:1', 'NOTE' => '0:M', 'SOUR' => '0:M', ]; /** * Should we collapse the children of this element when editing? * * @return bool */ public function collapseChildren(): bool { return true; } }