private function getExcludingGroups(array $excludeGroups, array $annotations): array
    {
        $excludingGroups = [];

        if (!empty($excludeGroups) && array_key_exists('group', $annotations)) {
            if (!empty(array_intersect($excludeGroups, $annotations['group']))) {
                $excludingGroups = array_intersect($excludeGroups, $annotations['group']);
            }
        }

        return $excludingGroups;
    }
private function getExcludingGroups(array $excludeGroups, array $annotations): array
    {
        $excludingGroups = [];

        if (!empty($excludeGroups) && array_key_exists('group', $annotations)) {
            if (!empty(array_intersect($excludeGroups, $annotations['group']))) {
                $excludingGroups = array_intersect($excludeGroups, $annotations['group']);
            }
        }

        return $excludingGroups;
    }
private function getExcludingGroups ( array $ excludeGroups , array $ annotations ) : array { $ excludingGroups = [ ] ; if ( ! empty ( $ excludeGroups ) && array_key_exists ( 'group' , $ annotations ) ) { if ( ! empty ( array_intersect ( $ excludeGroups , $ annotations [ 'group' ] ) ) ) { $ excludingGroups = array_intersect ( $ excludeGroups , $ annotations [ 'group' ] ) ; } } return $ excludingGroups ; }
Get array of groups that cause this class to be excluded.

@return array Empty array is returned if class should not be excluded.
Get array of groups that cause this class to be excluded .