PHP Array to Marray Collection

$collection = new ArrayCollection($allQuestions);
Sleepy Squirrel