PHP Class Docker\API\Model\NetworkConfig

Datei anzeigen Open project: docker-php/docker-php

Protected Properties

Property Type Description
$bridge string
$gateway string
$iPAddress string
$iPPrefixLen integer
$macAddress string
$networks Docker\API\Model\ContainerNetwork[]
$portMapping string
$ports Docker\API\Model\PortBinding[][] | null[]

Public Methods

Method Description
getBridge ( ) : string
getGateway ( ) : string
getIPAddress ( ) : string
getIPPrefixLen ( ) : integer
getMacAddress ( ) : string
getNetworks ( ) : Docker\API\Model\ContainerNetwork[]
getPortMapping ( ) : string
getPorts ( ) : Docker\API\Model\PortBinding[][] | null[]
setBridge ( string $bridge = null ) : self
setGateway ( string $gateway = null ) : self
setIPAddress ( string $iPAddress = null ) : self
setIPPrefixLen ( integer $iPPrefixLen = null ) : self
setMacAddress ( string $macAddress = null ) : self
setNetworks ( ArrayObject $networks = null ) : self
setPortMapping ( string $portMapping = null ) : self
setPorts ( ArrayObject $ports = null ) : self

Method Details

getBridge() public method

public getBridge ( ) : string
return string

getGateway() public method

public getGateway ( ) : string
return string

getIPAddress() public method

public getIPAddress ( ) : string
return string

getIPPrefixLen() public method

public getIPPrefixLen ( ) : integer
return integer

getMacAddress() public method

public getMacAddress ( ) : string
return string

getNetworks() public method

public getNetworks ( ) : Docker\API\Model\ContainerNetwork[]
return Docker\API\Model\ContainerNetwork[]

getPortMapping() public method

public getPortMapping ( ) : string
return string

getPorts() public method

public getPorts ( ) : Docker\API\Model\PortBinding[][] | null[]
return Docker\API\Model\PortBinding[][] | null[]

setBridge() public method

public setBridge ( string $bridge = null ) : self
$bridge string
return self

setGateway() public method

public setGateway ( string $gateway = null ) : self
$gateway string
return self

setIPAddress() public method

public setIPAddress ( string $iPAddress = null ) : self
$iPAddress string
return self

setIPPrefixLen() public method

public setIPPrefixLen ( integer $iPPrefixLen = null ) : self
$iPPrefixLen integer
return self

setMacAddress() public method

public setMacAddress ( string $macAddress = null ) : self
$macAddress string
return self

setNetworks() public method

public setNetworks ( ArrayObject $networks = null ) : self
$networks ArrayObject
return self

setPortMapping() public method

public setPortMapping ( string $portMapping = null ) : self
$portMapping string
return self

setPorts() public method

public setPorts ( ArrayObject $ports = null ) : self
$ports ArrayObject
return self

Property Details

$bridge protected_oe property

protected string $bridge
return string

$gateway protected_oe property

protected string $gateway
return string

$iPAddress protected_oe property

protected string $iPAddress
return string

$iPPrefixLen protected_oe property

protected int $iPPrefixLen
return integer

$macAddress protected_oe property

protected string $macAddress
return string

$networks protected_oe property

protected ContainerNetwork[],Docker\API\Model $networks
return Docker\API\Model\ContainerNetwork[]

$portMapping protected_oe property

protected string $portMapping
return string

$ports protected_oe property

protected PortBinding[][],Docker\API\Model|null[] $ports
return Docker\API\Model\PortBinding[][] | null[]