Sets the instance of the eager loader class to use for loading associations
and storing containments. If called with no arguments, it will return the
currently configured instance.
public eagerLoader ( Cake\ORM\EagerLoader $instance = null ) : Cake\ORM\EagerLoader | $this | ||
$instance | Cake\ORM\EagerLoader | The eager loader to use. Pass null to get the current eagerloader. |
return | Cake\ORM\EagerLoader | $this |