private function getParentJoin(Association $association): array
    {
        $table = $association->getTarget();

        $result = [];
        foreach (Utils::getTableAssignationFields($table) as $field) {
            $result[$table->aliasField($field) . ' IN'] = $this->user['id'];
        }

        return $result;
    }
private function getParentJoin(Association $association): array
    {
        $table = $association->getTarget();

        $result = [];
        foreach (Utils::getTableAssignationFields($table) as $field) {
            $result[$table->aliasField($field) . ' IN'] = $this->user['id'];
        }

        return $result;
    }
private function getParentJoin ( Association $ association ) : array { $ table = $ association -> getTarget ( ) ; $ result = [ ] ; foreach ( Utils :: getTableAssignationFields ( $ table ) as $ field ) { $ result [ $ table -> aliasField ( $ field ) . ' IN' ] = $ this -> user [ 'id' ] ; } return $ result ; }
Return parent association join.

@param \Cake\ORM\Association $association Association instance
@return mixed[]
Return parent association join .