PortBinding
Table of Contents
- $hostIp : string|null
- Host IP address that the container's port is mapped to.
- $hostPort : string|null
- Host port number that the container's port is mapped to.
- getHostIp() : string|null
- Host IP address that the container's port is mapped to.
- getHostPort() : string|null
- Host port number that the container's port is mapped to.
- setHostIp() : self
- Host IP address that the container's port is mapped to.
- setHostPort() : self
- Host port number that the container's port is mapped to.
Properties
$hostIp
Host IP address that the container's port is mapped to.
protected
string|null
$hostIp
$hostPort
Host port number that the container's port is mapped to.
protected
string|null
$hostPort
Methods
getHostIp()
Host IP address that the container's port is mapped to.
public
getHostIp() : string|null
Return values
string|null —getHostPort()
Host port number that the container's port is mapped to.
public
getHostPort() : string|null
Return values
string|null —setHostIp()
Host IP address that the container's port is mapped to.
public
setHostIp(string|null $hostIp) : self
Parameters
- $hostIp : string|null
Return values
self —setHostPort()
Host port number that the container's port is mapped to.
public
setHostPort(string|null $hostPort) : self
Parameters
- $hostPort : string|null