Beginner's Guide to ArrayCollection

In this series we are going to take a look at each of the methods that are available on Doctrine's Collection Interface.

A Doctrine Collection crops up fairly frequently in Symfony-land, and once you have seen all the powerful ways you can use them, you will likely start wanting to use them more and more.

As part of this series we will be specifically looking at the Array Collection which, as the name suggests, is a more specific implementation of the Doctrine Collection Interface.

You can think of the Array Collection as a wrapper around a standard PHP array which adds additional functionality to how we can already use arrays.

Most of this functionality is fairly straightforward. However, there are a few methods which are incredibly useful - once you know the exists, and just as importantly, how to use them.

By the end of this series you will have seen how you can make use of every method available on the Doctrine Collection interface, and will hopefully have seen how you can make your code more concise and clean with very little effort.


Presented By

Christopher Moss

Christopher Moss

Hi, I'm Chris and welcome to In this video you will learn about... :)