Super. Thank you!!!
It happened here and so
// footnote
$footnote = new WordFragment($docx, 'document');
$footnote->addFootnote(
array(
'textDocument' => 'footnote',
'textFootnote' => 'The footnote we want to insert.',
)
);
// table
$textFragment = new WordFragment($docx);
$text = array();
$text[] = $footnote;
$paragraphOptions = array(
'textAlign' => 'center',
);
$textFragment->addText($text, $paragraphOptions);
$valuesTable = array(
array(
$textFragment,
),
array(
'2',
),
array(
'3',
),
);
$docx->addTable($valuesTable);