Spatie\Backup\Tasks\Backup\FileSelection::shouldExclude PHP Метод

shouldExclude() защищенный Метод

protected shouldExclude ( string $path ) : boolean
$path string
Результат boolean
    protected function shouldExclude(string $path) : bool
    {
        foreach ($this->excludeFilesAndDirectories as $excludedPath) {
            if (starts_with($path, $excludedPath)) {
                return true;
            }
        }
        return false;
    }