2.x - console (wip)

This commit is contained in:
Saeed Vaziry
2024-10-02 23:46:53 +02:00
parent 906ddc38de
commit 63e7cfd8f7
9 changed files with 181 additions and 9 deletions

View File

@ -13,7 +13,7 @@
* @method static init(Server $server, string $asUser = null)
* @method static setLog(?ServerLog $log)
* @method static connect()
* @method static string exec(string $command, string $log = '', int $siteId = null, ?bool $stream = false)
* @method static string exec(string $command, string $log = '', int $siteId = null, ?bool $stream = false, callable $streamCallback = null)
* @method static string assertExecuted(array|string $commands)
* @method static string assertExecutedContains(string $command)
* @method static string assertFileUploaded(string $toPath, ?string $content = null)