public function externalAssociations(Table $repository)
    {
        if ($this->_loadExternal) {
            return $this->_loadExternal;
        }

        $this->attachableAssociations($repository);

        return $this->_loadExternal;
    }
public function externalAssociations(Table $repository)
    {
        if ($this->_loadExternal) {
            return $this->_loadExternal;
        }

        $this->attachableAssociations($repository);

        return $this->_loadExternal;
    }
public function externalAssociations ( Table $ repository ) { if ( $ this -> _loadExternal ) { return $ this -> _loadExternal ; } $ this -> attachableAssociations ( $ repository ) ; return $ this -> _loadExternal ; }
Returns an array with the associations that need to be fetched using a
separate query, each array value will contain a Cake\ORM\EagerLoadable object.

@param \Cake\ORM\Table $repository The table containing the associations
to be loaded
@return \Cake\ORM\EagerLoadable[]
Returns an array with the associations that need to be fetched using a separate query each array value will contain a Cake \ ORM \ EagerLoadable object .