The Acquia\Rest\Collection class allows developers to set which property the collection is contained in. There are some API's that will use a different property for the collection but iterate over the same set of elements. In order to facilitate not having to create different classes, the SDK should have a system that allows you to define a list of possible elements that contain the collection.
The Acquia\Rest\Collection class allows developers to set which property the collection is contained in. There are some API's that will use a different property for the collection but iterate over the same set of elements. In order to facilitate not having to create different classes, the SDK should have a system that allows you to define a list of possible elements that contain the collection.