\App\NetworkModule\EntitiesIPv6Connection

IPv6 connection entity

Summary

Methods
Properties
Constants
__construct()
fromForm()
fromNmCli()
getMethod()
getAddresses()
getDns()
toForm()
toNmCli()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\App\NetworkModule\Entities\IPv6Methods  method, \App\NetworkModule\Entities\IPv6Address||string|int  addresses, \App\NetworkModule\Entities\IPv6||string|int  dns) : 

IPv6 connection entity constructor

Parameters

\App\NetworkModule\Entities\IPv6Methods method

IPv6 connection method

\App\NetworkModule\Entities\IPv6Address||string|int addresses

IPv6 addresses

\App\NetworkModule\Entities\IPv6||string|int dns

IPv6 addresses of DNS servers

Returns

fromForm()

fromForm(\stdClass|\App\NetworkModule\Entities\ArrayHash  form) : 

Sets the value from the network connection configuration form

Parameters

\stdClass|\App\NetworkModule\Entities\ArrayHash form

Values from the network connection configuration form

Returns

fromNmCli()

fromNmCli(  nmCli) : \App\NetworkModule\Entities\IPv6Connection

Creates a new IPv6 connection entity from nmcli connection configuration

Parameters

nmCli

nmcli connection configuration

Returns

\App\NetworkModule\Entities\IPv6Connection —

IPv6 connection entity

getMethod()

getMethod() : \App\NetworkModule\Entities\IPv6Methods

Returns the IPv6 connection method

Returns

\App\NetworkModule\Entities\IPv6Methods —

IPv6 connection method

getAddresses()

getAddresses() : \App\NetworkModule\Entities\IPv6Address||string|int

Returns the IPv6 addresses

Returns

\App\NetworkModule\Entities\IPv6Address||string|int —

IPv6 addresses

getDns()

getDns() : \App\NetworkModule\Entities\IPv6||string|int

Returns the IPv6 addresses of DNS servers

Returns

\App\NetworkModule\Entities\IPv6||string|int —

IPv6 addresses of DNS servers

toForm()

toForm() : mixed|string|string|int

Converts IPv6 connection entity to an array for the form

Returns

mixed|string|string|int —

Array for the form

toNmCli()

toNmCli() : 

Converts IPv6 connection entity to nmcli configuration string

Returns

nmcli configuration