PHP Класс Laravel\Envoy\Task

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__construct ( array $hosts, string $user, string $script, boolean $parallel = false, string | null $confirm = null ) : void Create a new Task instance.

Описание методов

__construct() публичный Метод

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
Результат void

Описание свойств

$confirm публичное свойство

* Asks a user for a confirmation.
public $confirm

$hosts публичное свойство

All of the hosts to run the task on.
public array $hosts
Результат array

$parallel публичное свойство

Indicates if the task should be run in parallel across servers.
public array $parallel
Результат array

$script публичное свойство

The script commands.
public string $script
Результат string

$user публичное свойство

The username the task should be run as.
public string $user
Результат string