src/mako/database/midgard/Query.php
protected function hydrateModel(array $result)
	{
		$model = $this->model->getClass();

		return new $model($result, true, false, true);
	}
protected function hydrateModel(array $result)
	{
		$model = $this->model->getClass();

		return new $model($result, true, false, true);
	}
protected function hydrateModel ( array $ result ) { $ model = $ this -> model -> getClass ( ) ; return new $ model ( $ result , true , false , true ) ; }
Returns a hydrated model.

@param  array                      $result Database result
@return \mako\database\midgard\ORM
Returns a hydrated model .