ChildrenCollection constructor takes at least two parameters : DocumentManager $dm, $document

Yes, I need to initalise it cause I create the container when I create my page and I need to add it to its child to get it directly in my admin template.

I've tryed and it's working fine with an ArrayCollection.

I understand ChildrenCollection seams to be more appropriate but ArrayCollection is more convenient, what do you think ?