我有 phpword 表的问题。

我有下表,我想克隆第一个表行并替换其中的信息。到目前为止,我没有任何进展。我使用getVariables()方法从文档中获取所有变量并循环遍历它们。我已经检查过该值是否是数组,如果是它属于该行。我按照以下方式构建了数据
Collection {#971 ?
#items: array:12 [?
"ticket_id" => array:1 [?
0 => 7
0 => 6
]
"ticket_number" => array:2 [?
0 => "157-12313121321"
1 => null
]
"price_offered_bgn" => array:2 [?
0 => 978.0
1 => 196.0
]
"ticket_is" => array:1 [?
0 => "Requested"
]
"departure_date" => array:2 [?
0 => "2020-10-20 00:00:00"
1 => "2020-01-29 00:00:00"
]
"return_date" => array:2 [?
0 => "2020-10-29 00:00:00"
1 => null
]
"company_address" => …Run Code Online (Sandbox Code Playgroud)