PHP Class Laravel\Envoy\Task

Show file Open project: laravel/envoy

Public Properties

Property Type Description
$confirm * Asks a user for a confirmation.
$hosts array All of the hosts to run the task on.
$parallel array Indicates if the task should be run in parallel across servers.
$script string The script commands.
$user string The username the task should be run as.

Public Methods

Method Description
__construct ( array $hosts, string $user, string $script, boolean $parallel = false, string | null $confirm = null ) : void Create a new Task instance.

Method Details

__construct() public method

Create a new Task instance.
public __construct ( array $hosts, string $user, string $script, boolean $parallel = false, string | null $confirm = null ) : void
$hosts array
$user string
$script string
$parallel boolean
$confirm string | null
return void

Property Details

$confirm public property

* Asks a user for a confirmation.
public $confirm

$hosts public property

All of the hosts to run the task on.
public array $hosts
return array

$parallel public property

Indicates if the task should be run in parallel across servers.
public array $parallel
return array

$script public property

The script commands.
public string $script
return string

$user public property

The username the task should be run as.
public string $user
return string