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.
|1||The Basics of A Doctrine Collection||06:03|
|2||Frequently Used ArrayCollection Methods||06:58|
|3||Filter, Map, and Exists||06:11|
|4||forAll, partition, slice, and more||06:38|
If you have found this course helpful, please share it.