src/mako/database/midgard/Query.php
protected function hydrateModelsAndLoadIncludes($results)
	{
		$hydrated = [];

		foreach($results as $result)
		{
			$hydrated[] = $this->hydrateModel($result);
		}

		$this->loadIncludes($hydrated);

		return $hydrated;
	}
protected function hydrateModelsAndLoadIncludes($results)
	{
		$hydrated = [];

		foreach($results as $result)
		{
			$hydrated[] = $this->hydrateModel($result);
		}

		$this->loadIncludes($hydrated);

		return $hydrated;
	}
protected function hydrateModelsAndLoadIncludes ( $ results ) { $ hydrated = [ ] ; foreach ( $ results as $ result ) { $ hydrated [ ] = $ this -> hydrateModel ( $ result ) ; } $ this -> loadIncludes ( $ hydrated ) ; return $ hydrated ; }
Returns hydrated models.

@param  mixed $results Database results
@return array
Returns hydrated models .