Documentation

ArchivableFilesFinder extends FilterIterator
in package

A Symfony Finder wrapper which locates files that should go into archives

Handles .gitignore, .gitattributes and .hgignore files as well as composer's own exclude rules from composer.json

Tags
author

Nils Adermann naderman@naderman.de

Table of Contents

$finder  : Finder
__construct()  : mixed
Initializes the internal Symfony Finder with appropriate filters
accept()  : mixed

Properties

Methods

__construct()

Initializes the internal Symfony Finder with appropriate filters

public __construct(string $sources, array<string|int, mixed> $excludes[, bool $ignoreFilters = false ]) : mixed
Parameters
$sources : string

Path to source files to be archived

$excludes : array<string|int, mixed>

Composer's own exclude rules from composer.json

$ignoreFilters : bool = false

Ignore filters when looking for files

Return values
mixed

Search results