Closed anaelChardan closed 5 years ago
It could be nice to ensure that our collection contains objects with the same type :).
See https://medium.com/2dotstwice-connecting-the-dots/creating-strictly-typed-arrays-and-collections-in-php-37036718c921#.8onxqhxgj
you can achieve that with exists
exists
It could be nice to ensure that our collection contains objects with the same type :).
See https://medium.com/2dotstwice-connecting-the-dots/creating-strictly-typed-arrays-and-collections-in-php-37036718c921#.8onxqhxgj