RawTextPage
in package
implements
Stringable
Raw text extracted from the page.
Table of Contents
Interfaces
- Stringable
Properties
- $content : string|null
- Page content as a single string.
Methods
- __construct() : mixed
- __toString() : string
Properties
$content
Page content as a single string.
public
string|null
$content
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>>
-
JSON response from the server.
__toString()
public
__toString() : string
Return values
string —String representation.