Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 650 Bytes

twig_functions.rst

File metadata and controls

30 lines (20 loc) · 650 Bytes

Twig Functions

xlsmergestyles

xlsmergestyles([style1:array], [style2:array])
  • Merges two style arrays recursively
  • Returns a new array

Parameters

Name Type Optional Description

style1 style2

array array

Standard PhpExcel style array Standard PhpExcel style array

Example

{% set mergedStyle = xlsmergestyles({ font: { name: 'Verdana' } }, { font: { size: '18' } }) %}