src/mako/database/midgard/ORM.php
public function include($includes)
	{
		$model = $this;

		(function() use ($includes, $model): void
		{
			$this->including($includes)->loadIncludes([$model]);
		})->bindTo($this->builder(), Query::class)();

		return $this;
	}
public function include($includes)
	{
		$model = $this;

		(function() use ($includes, $model): void
		{
			$this->including($includes)->loadIncludes([$model]);
		})->bindTo($this->builder(), Query::class)();

		return $this;
	}
public function include ( $ includes ) { $ model = $ this ; ( function ( ) use ( $ includes , $ model ) : void { $ this -> including ( $ includes ) -> loadIncludes ( [ $ model ] ) ; } ) -> bindTo ( $ this -> builder ( ) , Query :: class ) ( ) ; return $ this ; }
Eager loads relations on the model.

@param  string|array $includes Relation or array of relations to eager load
@return $this
Eager loads relations on the model .