public function buildFilterCallback(array $except = [])
    {
        $filter = $this;

        return function ($path) use ($filter, $except) {
            return !$filter->filter([$path], $except, true);
        };
    }
public function buildFilterCallback(array $except = [])
    {
        $filter = $this;

        return function ($path) use ($filter, $except) {
            return !$filter->filter([$path], $except, true);
        };
    }
public function buildFilterCallback ( array $ except = [ ] ) { $ filter = $ this ; return function ( $ path ) use ( $ filter , $ except ) { return ! $ filter -> filter ( [ $ path ] , $ except , true ) ; } ; }
Returns callable which can be used by third-party code
for determining what some file should be excluded from result set.

Callable signature support $path parameter:

```
function ($path) {
...
}
```

@param array $except
@return callable
Returns callable which can be used by third - party code for determining what some file should be excluded from result set .