Astrotomic/laravel-backuplay

View on GitHub
src/Backuplay/Events/BackupCreateAfterScripts.php

Summary

Maintainability
A
2 hrs
Test Coverage
<?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;
    }
}