SplitFiles
extends ArrayObject
in package
Split files collection wrapper.
- @extends \ArrayObject<int, ExtractedPdf>
Table of Contents
Methods
- __construct() : mixed
- Builds a new SplitFiles collection.
- saveAllToDisk() : void
- Save all extracted splits to disk.
Methods
__construct()
Builds a new SplitFiles collection.
public
__construct(ExtractedPdf ...$items) : mixed
Parameters
- $items : ExtractedPdf
-
Items.
saveAllToDisk()
Save all extracted splits to disk.
public
saveAllToDisk(string $path[, string $prefix = 'split' ]) : void
Parameters
- $path : string
-
The directory path to save the extracted splits to.
- $prefix : string = 'split'
-
Prefix to add to the filename.