\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
$commandManager
N/A

Properties

$commandManager

$commandManager : \App\CoreModule\Models\CommandManager

Type

normal — Command manager

Methods

__construct()

__construct(\App\CoreModule\Models\CommandManager  $commandManager) : mixed

Constructor

Parameters

\App\CoreModule\Models\CommandManager $commandManager

Command manager

Returns

mixed

connect()

connect(string  $name) : void

Connects the network interface

Parameters

string $name

Network interface name

disconnect()

disconnect(string  $name) : void

Discoonnects the network interface

Parameters

string $name

Network interface name

list()

list() : \App\NetworkModule\Entities\InterfaceStatus[]

Lists network interfaces

Returns

\App\NetworkModule\Entities\InterfaceStatus[] —

Network interfaces