| Property | Description | Returns | 
|---|---|---|
| current | Return the current element | Model (BaseAction) | 
| key | Return the key of the current element | Model (BaseAction) | 
| next | Move forward to next element | |
| keys | Gets all keys/indices of the collection. | array | 
| values | Gets all values of the collection. | array | 
| toArray | Gets an array representation of the collection. | array | 
| first | Get the first element in the collection without modifying the pointer | Model (BaseAction) | 
| first | Sets the internal iterator to the first element in the collection and returns the element. | Model (BaseAction) | 
| last | Get the last element in the collection without modifying the pointer | Model (BaseAction) | 
| last | Sets the internal iterator to the first element in the collection and returns the element. | Model (BaseAction) | 
| iterator | Retrieve an external iterator. | Traversable | 
| count | Count the elements inside of the collection. | int | 
| valid | Checks if current position is valid. Returns true on success or false on failure. | bool | 
| rewind | Rewind the Iterator to the first element. | |
| shuffled | Get a shuffled collection from this collection. | Collection (BaseAction) | 
| __toString | Get a string representation of the ResponseModelsCollection. | string | 
| jsonEncode | Get a representation of the ResponseModel to be used with json_encode. Uses the list representation with the id as key in an object that is returned | string | 
Collection of Hooks\Models\Api\BaseAction
Contains a collection of records. Provides methods for sorting and filtering the collection. Can be iterated in a foreach-loop