public function attachableAssociations(Table $repository)
    {
        $contain = $this->normalized($repository);
        $matching = $this->_matching ? $this->_matching->normalized($repository) : [];
        $this->_fixStrategies();
        $this->_loadExternal = [];

        return $this->_resolveJoins($contain, $matching);
    }
public function attachableAssociations(Table $repository)
    {
        $contain = $this->normalized($repository);
        $matching = $this->_matching ? $this->_matching->normalized($repository) : [];
        $this->_fixStrategies();
        $this->_loadExternal = [];

        return $this->_resolveJoins($contain, $matching);
    }
public function attachableAssociations ( Table $ repository ) { $ contain = $ this -> normalized ( $ repository ) ; $ matching = $ this -> _matching ? $ this -> _matching -> normalized ( $ repository ) : [ ] ; $ this -> _fixStrategies ( ) ; $ this -> _loadExternal = [ ] ; return $ this -> _resolveJoins ( $ contain , $ matching ) ; }
Returns an array with the associations that can be fetched using a single query,
the array keys are the association aliases and the values will contain an array
with Cake\ORM\EagerLoadable objects.

@param \Cake\ORM\Table $repository The table containing the associations to be
attached
@return array
Returns an array with the associations that can be fetched using a single query the array keys are the association aliases and the values will contain an array with Cake \ ORM \ EagerLoadable objects .