Copied!

Class DumpWriter

Handles file output operations for mysqldump-php.

CloneableInstantiable
Methods
public __construct(Druidfi\Mysqldump\DumpSettings $settings)
 

Constructor of DumpWriter.

  • param \DumpSettings $settings Settings for the dump
public close() : bool
public initialize(string $destination) : void
 

Initialize the writer with the specified destination.

  • param string $destination Path to the output file or php://stdout
  • throws \Exception
public write(string $data) : int
 

Write data to the output file.

  • param string $data Data to write
  • return int Number of bytes written
  • throws \Exception
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration