protected function _processAssociations(Event $event, EntityInterface $entity)
    {
        foreach ($this->_config as $assoc => $settings) {
            $assoc = $this->_table->getAssociation($assoc);
            $this->_processAssociation($event, $entity, $assoc, $settings);
        }
    }
protected function _processAssociations(Event $event, EntityInterface $entity)
    {
        foreach ($this->_config as $assoc => $settings) {
            $assoc = $this->_table->getAssociation($assoc);
            $this->_processAssociation($event, $entity, $assoc, $settings);
        }
    }
protected function _processAssociations ( Event $ event , EntityInterface $ entity ) { foreach ( $ this -> _config as $ assoc => $ settings ) { $ assoc = $ this -> _table -> getAssociation ( $ assoc ) ; $ this -> _processAssociation ( $ event , $ entity , $ assoc , $ settings ) ; } }
Iterate all associations and update counter caches.

@param \Cake\Event\Event $event Event instance.
@param \Cake\Datasource\EntityInterface $entity Entity.
@return void
Iterate all associations and update counter caches .