\App\NetworkModule\ModelsConnectionManager

Network connection manager

Summary

Methods
Properties
Constants
__construct()
delete()
get()
list()
edit()
up()
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

delete()

delete(\Ramsey\Uuid\UuidInterface  $uuid) : void

Deletes the network connection

Parameters

\Ramsey\Uuid\UuidInterface $uuid

Network connection UUID

Throws

\App\NetworkModule\Exceptions\NetworkManagerException

get()

get(\Ramsey\Uuid\UuidInterface  $uuid) : \App\NetworkModule\Entities\ConnectionDetail

Returns the detailed network connection entity

Parameters

\Ramsey\Uuid\UuidInterface $uuid

Network connection UUID

Throws

\App\NetworkModule\Exceptions\NetworkManagerException

Returns

\App\NetworkModule\Entities\ConnectionDetail —

Detailed network connection entity

list()

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

Lists the network connections

Returns

\App\NetworkModule\Entities\Connection[] —

Network connections

edit()

edit(\App\NetworkModule\Entities\ConnectionDetail  $connection, \stdClass  $values) : void

Edits the network connection's configuration

Parameters

\App\NetworkModule\Entities\ConnectionDetail $connection

Detailed network connection entity

\stdClass $values

Network connection configuration form values

Throws

\App\NetworkModule\Exceptions\NetworkManagerException

up()

up(\Ramsey\Uuid\UuidInterface  $uuid) : void

Activate a connection on the interface

Parameters

\Ramsey\Uuid\UuidInterface $uuid

Network connection UUID

Throws

\App\NetworkModule\Exceptions\NetworkManagerException