ConfiguredSFTPClient implements SFTPClientSource
FinalYes
Tags
Interfaces
Methods
- __construct() : mixed
- client() : SFTP
- fromArray() : self
- normalize() : SFTPClientConfiguration
Methods
__construct()
public
__construct(string $host, string $user, SFTPCredential $credential[, int $port = 22 ]) : mixed
Parameters
- $host : string
- $user : string
- $credential : SFTPCredential
- $port : int = 22
client()
public
client() : SFTP
Tags
Return values
SFTPfromArray()
public
static fromArray(array<string|int, mixed> $config) : self
Parameters
- $config : array<string|int, mixed>
-
host, user, port? and exactly one of password | private_key (+ passphrase?)
Tags
Return values
selfnormalize()
public
normalize() : SFTPClientConfiguration