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 88c5313 commit 90734d7Copy full SHA for 90734d7
src/Backup/Cli/Cmd.php
@@ -56,13 +56,14 @@ public function getName()
56
}
57
58
/**
59
- * Silent setter
+ * Silence the 'Cmd' by redirecting its stdErr output to /dev/null.
60
+ * The silence feature is disabled for Windows system.
61
*
62
* @param boolean $bool
63
*/
64
public function silence($bool = true)
65
{
- $this->isSilent = $bool;
66
+ $this->isSilent = $bool && !defined('PHP_WINDOWS_VERSION_BUILD');
67
68
69
0 commit comments