![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/rentpix.corals.io/vendor/laravel/envoy/src/ |
<?php namespace Laravel\Envoy; class Task { /** * All of the hosts to run the task on. * * @var array */ public $hosts = []; /** * The username the task should be run as. * * @var string */ public $user; /** * The script commands. * * @var string */ public $script; /** * Indicates if the task should be run in parallel across servers. * * @var array */ public $parallel; /** * Asks a user for a confirmation. * * @var string */ public $confirm; /** * Create a new Task instance. * * @param array $hosts * @param string $user * @param string $script * @param bool $parallel * @param string|null $confirm * @return void */ public function __construct(array $hosts, $user, $script, $parallel = false, $confirm = null) { $this->user = $user; $this->hosts = $hosts; $this->script = $script; $this->parallel = $parallel; $this->confirm = $confirm; } }