src/Backuplay/Events/BackupCreateAfterScripts.php
<?php
namespace Astrotomic\Backuplay\Events;
use Astrotomic\Backuplay\Artisan\CreateBackup;
class BackupCreateAfterScripts extends Event
{
/**
* @var \Astrotomic\Backuplay\Artisan\CreateBackup
*/
public $command;
/**
* @var string
*/
public $key;
/**
* @var array
*/
public $scripts;
/**
* @var bool
*/
public $success;
public function __construct(CreateBackup $command, $key, array $scripts, $success)
{
$this->command = $command;
$this->key = $key;
$this->scripts = $scripts;
$this->success = $success;
}
}