We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Can we return multiple forms ?

Can we return mutiple forms at the end the function at the same time? If yes how can we do that?



85.5k

what kind of a function ?


return [
    "form1" => new Form1(),
    "form2" => new Form2()
];


3.3k
Accepted
answer

Im not sure that I understand the question. I know the answer is yes, regardsless.