lithium\data\Collection::data()
Converts the current state of the data structure to an array.
Returns
arrayReturns the array value of the data in this Collection
.
Source
public function data() {
return $this->to('array', ['indexed' => null]);
}