Sets the set of exclude patterns. Patterns may be separated by a comma
or a space.

@param  $excludes
@throws BuildException
494618
public function setExcludes($excludes)
    {
        if ($this->isReference()) {
            throw $this->tooManyAttributes();
        }
        $this->defaultPatterns->setExcludes($excludes);
    }
587250
public function setDayExcluded($wday, $exclude)
    {
        DateBuilder::validateDayOfWeek($wday);

        $days = $this->getValue('excludeDays', []);

        if ($exclude) {
            if (false === array_search($wday, $days, true)) {
                $days[] = $wday;
                sort($days, SORT_NUMERIC);
            }
        } else {
            if (false !== $index = array_search($wday, $days, true)) {
                unset($days[$index]);
                $days = array_values($days);
            }
        }

        $this->setValue('excludeDays', $days);
    }
1189748
public function excludeTables($excludeTables)
    {
        if (! empty($this->includeTables)) {
            throw CannotSetParameter::conflictingParameters('excludeTables', 'includeTables');
        }

        if (! is_array($excludeTables)) {
            $excludeTables = explode(', ', $excludeTables);
        }

        $this->excludeTables = $excludeTables;

        return $this;
    }
140979
public function addAll(array $coverages)
    {
        $exceptions = new ExceptionCollection();

        foreach ($coverages as $coverage) {
            try {
                $this->add($coverage);
            } catch (LineOutOfRangeException $exception) {
                $exceptions->add($exception);
            }
        }

        if ($exceptions->count() <= 0) {
            return;
        }

        throw $exceptions;
    }
73993
public function setPatterns($patterns)
    {
        foreach ($patterns as $name => $pattern) {
            $this->setPattern($name, $pattern);
        }

        return $this;
    }
491935
protected function setPathToUpdate(string $path, array $exclude)
    {
        $finder = (new Finder())->in($path)->exclude($exclude);

        $this->pathToUpdate = $finder;
    }
1055677
public function appendExcludeHeaders( array $headers )
    {
        $lowerCaseHeaders = array();
        foreach ( $headers as $header )
        {
            $lowerCaseHeaders[] = strtolower( $header );
        }
        $this->excludeHeaders = array_merge( $this->excludeHeaders, $lowerCaseHeaders );
    }
443536
protected function excludes($excludes)
    {
        $excludes = \is_array($excludes) ? $excludes : \func_get_args();

        $this->excludes = $excludes;

        return $this;
    }
530170
private function buildUserFieldList(array $fields, array $excludes = [])
    {
        $ret = [];

        foreach ($fields as $key => $field) {
            $data['name'] = $key;

            foreach ($field as $k => $i) {
                if (in_array($k, $excludes)) {
                    continue;
                }

                $data[$k] = $i;
            }

            $ret[] = $data;
        }

        return $ret;
    }
523988
public function toArray( $excludes = null )
    {
        $_me = array(
            'stop_propagation' => $this->isPropagationStopped(),
        );

        $_excludes = Option::clean( $excludes );

        foreach ( get_object_vars( $this ) as $_key => $_value )
        {
            if ( method_exists( $this, 'get' . ( $_cleanKey = ltrim( $_key, '_' ) ) ) && !in_array( $_cleanKey, $_excludes ) )
            {
                $_me[Inflector::neutralize( $_cleanKey )] = $_value;
            }
        }

        return $_me;
    }
1084076
public function exclude($exclude) {
		$this->excludeTags = array_merge($this->excludeTags, SimpleSAML_Utilities::arrayize($exclude));
	}
247880
public function exclude(array $patterns)
    {
        return $this->reject(function ($file) use ($patterns) {
            foreach ($patterns as $pattern) {
                if (Str::is($pattern, $file['name'])) return true;
            }

            return false;
        });
    }
141218
protected function parseExcludes()
    {
        if ($this->query->has('excludes')) {
            $this->query->setExcludes(
                explode(',', $this->query->getRaw('excludes'))
            );
        }
    }
1183928
public function setAttachments($attachments): self
    {
        if (!is_iterable($attachments)) {
            throw new Exception(sprintf('%s() expects argument passed to be iterable, %s given', __METHOD__, gettype($attachments)));
        }

        $this->attachments = [];
        foreach ($attachments as $attachment) {
            $this->addAttachment($attachment);
        }

        return $this;
    }
170026
public function setExcludes(array $excludes = []): self
    {
        foreach ($excludes as $exclude) {
            $this->addExclude($exclude);
        }

        return $this;
    }
938118
public OptionsBuilder excludes(/* @Nullable */ Collection<String> excludes) {

		if (excludes != null && !excludes.isEmpty()) {
			if (!options.containsKey(Options.EXCLUDES)) {
				options.put(Options.EXCLUDES, new ArrayList<Object>());
			}

			List<Object> allIncludes = (List<Object>) options.get(Options.EXCLUDES);
			allIncludes.addAll(excludes);
		}
		return this;
	}
1031253
public function setParams($params) {
        if (isset($params['extra'])) {
            if (isset($params['extra']['details'])) {
                throw new ConfigurationException('"details" option is readonly (always true) and cannot be set');
            }
        }
        parent::setParams($params);
    }