2024.8.23
|
Public Member Functions | |
__construct ($root) | |
Static Public Member Functions | |
static | deleteCurrentSymlinks () |
Private Attributes | |
$root | |
Manages the creation and deletion of symbolic links for various components within the Bearsampp environment.
Definition at line 13 of file class.symlinks.php.
Symlinks::__construct | ( | $root | ) |
Constructs a Symlinks object and initializes paths to current directories.
Definition at line 25 of file class.symlinks.php.
References $root.
|
static |
Deletes all symbolic links listed in the arrayOfCurrents. Logs each operation's success or failure.
This method iterates over a predefined list of symbolic link paths and attempts to delete each one. If a symbolic link does not exist, an error is logged. If the deletion is successful, a debug message is logged.
@global Root $bearsamppRoot The root object providing access to system paths. @global Core $bearsamppCore The core object providing core functionalities.
Definition at line 41 of file class.symlinks.php.
References $bearsamppCore, $bearsamppRoot, Util\formatWindowsPath(), Util\logDebug(), Util\logError(), and Batch\removeSymlink().
Referenced by ActionQuit\processWindow().
|
private |
Definition at line 18 of file class.symlinks.php.
Referenced by __construct().