Skip to content
Permalink
Browse files

Renaming method

  • Loading branch information...
lorenzo committed Jan 30, 2014
1 parent 17f6328 commit 927ac686c194f7da2adff7b994bf7f44ce1375ae
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/ORM/EagerLoader.php
  2. +1 −1 src/ORM/Query.php
@@ -319,7 +319,7 @@ protected function _resolveJoins($associations) {
* @param Statement $statement The statement created after executing the $query
* @return CallbackStatement $statement modified statement with extra loaders
*/
public function eagerLoad($query, $statement) {
public function loadExternal($query, $statement) {
if (!$this->_hasExternal($query->repository())) {
return $statement;
}
@@ -896,7 +896,7 @@ protected function _decorateResults($result) {
*/
protected function _decorateStatement($statement) {
$statement = parent::_decorateStatement($statement);
return $this->eagerLoader()->eagerLoad($this, $statement);
return $this->eagerLoader()->loadExternal($this, $statement);
}
/**

0 comments on commit 927ac68

Please sign in to comment.
You can’t perform that action at this time.