Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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?



67.7k

what kind of a function ?


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


2.7k
Accepted
answer

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