This website version is not maintained anymore
Up to date documentation is available in Symfony 3.x website (see the dropdown menu above).
init_with_n_elements option to ensure that your collection will be initialized with the given number of arguments.
This demostration is made of the following files (click to see on GitHub in a new tab)
// Form is initialized without any element, but 5 empty elements
// are created at startup.