CloudTwin  ROS2 Humble
Digital twin for path and trajectory optimisation
Public Member Functions | Private Member Functions | List of all members
App\Http\Controllers\Settings\ConnectionController Class Reference
+ Inheritance diagram for App\Http\Controllers\Settings\ConnectionController:

Public Member Functions

 edit ()
 
 update (ConnectionUpdateRequest $request)
 

Private Member Functions

 encodeEnvValue (string $value)
 
 writeEnv (string $key, string $value)
 

Member Function Documentation

◆ edit()

App\Http\Controllers\Settings\ConnectionController::edit ( )

Show the digital-twin connection settings page.

◆ encodeEnvValue()

App\Http\Controllers\Settings\ConnectionController::encodeEnvValue ( string  $value)
private

Quote an env value when it contains characters that require it.

◆ update()

App\Http\Controllers\Settings\ConnectionController::update ( ConnectionUpdateRequest  $request)

Update the digital-twin socket address (scheme, host/IP and port).

◆ writeEnv()

App\Http\Controllers\Settings\ConnectionController::writeEnv ( string  $key,
string  $value 
)
private

Persist (or replace) a single key in the application's .env file.


The documentation for this class was generated from the following file: