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;
    }