Client
Table of Contents
-
__construct()
: mixed
-
getFileContents()
: StreamInterface|null
-
getGuzzleClient()
: Client
-
getUrl()
: string
-
printDebug()
: mixed
-
uploadFile()
: string
__construct()
public
__construct(string $url, string $username, string $password) : mixed
Parameters
-
$url
: string
-
-
$username
: string
-
-
$password
: string
-
Return values
mixed
—
getFileContents()
public
getFileContents(string $fileName) : StreamInterface|null
Parameters
-
$fileName
: string
-
Return values
StreamInterface|null
—
getGuzzleClient()
public
getGuzzleClient() : Client
Return values
Client
—
getUrl()
public
getUrl() : string
Return values
string
—
printDebug()
public
printDebug() : mixed
Return values
mixed
—
uploadFile()
public
uploadFile(string $fileName, string $fileContents) : string
Parameters
-
$fileName
: string
-
-
$fileContents
: string
-
Return values
string
—