\App\NetworkModule\EntitiesConnection

Network connection entity

Summary

Methods
Properties
Constants
__construct()
fromString()
getName()
getUuid()
getType()
getInterfaceName()
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(  name, \App\NetworkModule\Entities\UuidInterface  uuid, \App\NetworkModule\Entities\ConnectionTypes  type,   interfaceName) : 

Network connection entity constructor

Parameters

name

Network connection name

\App\NetworkModule\Entities\UuidInterface uuid

Network connection UUID

\App\NetworkModule\Entities\ConnectionTypes type

Network connection type

interfaceName

Network interface name

Returns

fromString()

fromString(  string) : \App\NetworkModule\Entities\Connection

Creates a new network connection entity from the nmcli row

Parameters

string

nmcli row

Returns

\App\NetworkModule\Entities\Connection —

Network connection entity

getName()

getName() : 

Returns the network connection name

Returns

Network connection name

getUuid()

getUuid() : \App\NetworkModule\Entities\UuidInterface

Returns the network connection UUID

Returns

\App\NetworkModule\Entities\UuidInterface —

Network connection UUID

getType()

getType() : \App\NetworkModule\Entities\ConnectionTypes

Returns the network connection type

Returns

\App\NetworkModule\Entities\ConnectionTypes —

Network connection type

getInterfaceName()

getInterfaceName() : 

Returns the network interface name

Returns

Network interface name