Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class TableFilterer |
||
6 | { |
||
7 | /** |
||
8 | * @param string[] $tables list of tables to filter |
||
9 | * @param string[] $excludes List of regular expressions to filter tables based on |
||
10 | * |
||
11 | * @return string[] List of table with the excludes removed |
||
12 | */ |
||
13 | 5 | public function filter(array $tables, array $excludes): array |
|
29 |