src/mako/database/query/ResultSet.php
public function toArray(): array
	{
		$results = [];

		foreach($this->items as $item)
		{
			$results[] = $item->toArray();
		}

		return $results;
	}
public function toArray(): array
	{
		$results = [];

		foreach($this->items as $item)
		{
			$results[] = $item->toArray();
		}

		return $results;
	}
public function toArray ( ) : array { $ results = [ ] ; foreach ( $ this -> items as $ item ) { $ results [ ] = $ item -> toArray ( ) ; } return $ results ; }
Returns an array representation of the result set.

@return array
Returns an array representation of the result set .