\App\NetworkModule\ModelsInterfaceManager

Network interface manager

Summary

Methods
Properties
Constants
__construct()
connect()
disconnect()
list()
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\Models\CommandManager  commandManager) : 

Constructor

Parameters

\App\NetworkModule\Models\CommandManager commandManager

Command manager

Returns

connect()

connect(  name) : 

Connects the network interface

Parameters

name

Network interface name

Returns

disconnect()

disconnect(  name) : 

Discoonnects the network interface

Parameters

name

Network interface name

Returns

list()

list() : \App\NetworkModule\Models\InterfaceStatus||string|int

Lists network interfaces

Returns

\App\NetworkModule\Models\InterfaceStatus||string|int —

Network interfaces