I have got an error when i ported Smarty via Composer autoload. "autoload": { "psr-4": { "Smmarty\\": "src/libs/smarty/smarty/src/", ..... } }, so, i guess this way ...
Apparently DICE does not allow including a UNION type parameter in the _construct of the class because on line 257 of the code it tries to create a checking function ('is...) and the returned string ...