We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb1e6e0 commit 7eaaa56Copy full SHA for 7eaaa56
shell_lib.php
@@ -23,6 +23,11 @@
23
*/
24
class ShellHelper
25
{
26
+ /**
27
+ * @param array $commands
28
+ * @return string
29
+ * @deprecated
30
+ */
31
public static function exec(array $commands)
32
33
$res = "Executing shell commands:\n";
@@ -73,11 +78,19 @@ class LogHelper
73
78
74
79
public static $log_file;
75
80
81
82
+ * @param $log_file
83
84
76
85
public static function init($log_file)
77
86
87
static::$log_file = $log_file;
88
}
89
90
91
+ * @param $message
92
93
94
public static function log($message)
95
96
if (empty(static::$log_file)) {
0 commit comments