Connection
in package
implements
ArrayAccess, Arrayable
Uses
AccessPropertiesAsArray
Tags
Interfaces, Classes, Traits and Enums
- ArrayAccess
- Arrayable
Table of Contents
- $host : string
- $passive : bool
- $password : string
- $path : string
- $port : int
- $username : string
- __construct() : mixed
- fromArray() : static
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : mixed
Properties
$host
public
string
$host
$passive
public
bool
$passive
$password
public
string
$password
$path
public
string
$path
$port
public
int
$port
$username
public
string
$username
Methods
__construct()
public
__construct(string $host, string $username, string $password, string $path, int $port, bool $passive) : mixed
Parameters
- $host : string
- $username : string
- $password : string
- $path : string
- $port : int
- $passive : bool
Return values
mixed —fromArray()
public
static fromArray(array<string|int, mixed> $data) : static
Parameters
- $data : array<string|int, mixed>
Return values
static —offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
bool —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Return values
void —offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
Return values
void —toArray()
public
toArray() : mixed