SplitResult
in package
implements
Stringable
Result of a split utility inference.
Table of Contents
Interfaces
- Stringable
Properties
- $splits : array<string|int, SplitRange>
Methods
- __construct() : mixed
- __toString() : string
- extractFromInputSource() : SplitFiles
Properties
$splits
public
array<string|int, SplitRange>
$splits
A single document as identified when splitting a multi-document source file.
Methods
__construct()
public
__construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawResponse) : mixed
Parameters
- $rawResponse : array<string, int|float|string|bool|null|array<string|int, mixed>>
-
Raw server response array.
__toString()
public
__toString() : string
Return values
string —String representation.
extractFromInputSource()
public
extractFromInputSource(LocalInputSource $inputSource) : SplitFiles
Parameters
- $inputSource : LocalInputSource
-
The input source from which to extract the pages.
Tags
Return values
SplitFiles —The extracted PDFs.