Skip to content

Commit

Permalink
Update MasterSupervisor.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Jul 14, 2023
1 parent 049a37e commit f2159ba
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/MasterSupervisor.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ class MasterSupervisor implements Pausable, Restartable, Terminable
{
use ListensForSignals;

/**
* The environment that was used to provision this master supervisor.
*
* @var string|null
*/
public $environment;

/**
* The name of the master supervisor.
*
Expand Down Expand Up @@ -56,23 +63,18 @@ class MasterSupervisor implements Pausable, Restartable, Terminable
*/
public static $nameResolver;

/**
* The environment that is used to provision this master supervisor.
*
* @var string|null
*/
public $environment;

/**
* Create a new master supervisor instance.
*
* @param string $environment
* @return void
*/
public function __construct(string $environment = null)
{
$this->environment = $environment;

$this->name = static::name();
$this->supervisors = collect();
$this->environment = $environment;

$this->output = function () {
//
Expand Down

0 comments on commit f2159ba

Please sign in to comment.