src/Tasks/Backup/FileSelection.php
public function excludeFilesFrom($excludeFilesAndDirectories): self
    {
        $this->excludeFilesAndDirectories = $this->excludeFilesAndDirectories->merge($this->sanitize($excludeFilesAndDirectories));

        return $this;
    }
public function excludeFilesFrom($excludeFilesAndDirectories): self
    {
        $this->excludeFilesAndDirectories = $this->excludeFilesAndDirectories->merge($this->sanitize($excludeFilesAndDirectories));

        return $this;
    }
public function excludeFilesFrom ( $ excludeFilesAndDirectories ) : self { $ this -> excludeFilesAndDirectories = $ this -> excludeFilesAndDirectories -> merge ( $ this -> sanitize ( $ excludeFilesAndDirectories ) ) ; return $ this ; }
Do not included the given files and directories.

@param array|string $excludeFilesAndDirectories

@return \Spatie\Backup\Tasks\Backup\FileSelection
Do not included the given files and directories .