StringContent
in package
implements
Stringable, IHttpContent
Table of Contents
Interfaces
- Stringable
- IHttpContent
Methods
- __construct() : mixed
- __toString() : string
- fromFile() : StringContent
- fromObject() : StringContent
- fromRequest() : StringContent
- getString() : string
Methods
__construct()
public
__construct(string $string) : mixed
Parameters
- $string : string
__toString()
public
__toString() : string
Return values
stringfromFile()
public
static fromFile(string $path) : StringContent
Parameters
- $path : string
Return values
StringContentfromObject()
public
static fromObject(string $string) : StringContent
Parameters
- $string : string
Return values
StringContentfromRequest()
public
static fromRequest() : StringContent
Return values
StringContentgetString()
public
getString() : string