static function setFilesystem(?\React\Filesystem\FilesystemInterface $filesystem) {
        if($filesystem === null) {
            $filesystem = false;
        }
        
        self::$filesystem = $filesystem;
    }
static function setFilesystem(?\React\Filesystem\FilesystemInterface $filesystem) {
        if($filesystem === null) {
            $filesystem = false;
        }
        
        self::$filesystem = $filesystem;
    }
static function setFilesystem ( ? \ React \ Filesystem \ FilesystemInterface $ filesystem ) { if ( $ filesystem === null ) { $ filesystem = false ; } self :: $ filesystem = $ filesystem ; }
Sets the React Filesystem instance, or disables it.
@param \React\Filesystem\FilesystemInterface|null  $filesystem
@return void
Sets the React Filesystem instance or disables it .