it is not since 2.5 but since 1.2 given that the latest release of ``doctrine/collections`` is v1.1