Laragear/Rewind

View on GitHub
src/Events/StateCreated.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Laragear\Rewind\Events;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Events\Dispatchable;
use Laragear\Rewind\Models\RewindState;

class StateCreated
{
    use Dispatchable;

    /**
     * Create a new event instance.
     */
    public function __construct(public Model $model, public RewindState $state)
    {
        //
    }
}