| Total Complexity | 1 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class StateChanged |
||
| 11 | { |
||
| 12 | use SerializesModels; |
||
|
|
|||
| 13 | |||
| 14 | /** @var \Spatie\ModelStates\State|null */ |
||
| 15 | public $initialState; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var null |
||
| 19 | * @deprecated |
||
| 20 | * @see https://github.com/spatie/laravel-model-states/issues/49 |
||
| 21 | */ |
||
| 22 | public $finalState; |
||
| 23 | |||
| 24 | /** @var \Spatie\ModelStates\Transition */ |
||
| 25 | public $transition; |
||
| 26 | |||
| 27 | /** @var \Illuminate\Database\Eloquent\Model */ |
||
| 28 | public $model; |
||
| 29 | |||
| 30 | public function __construct( |
||
| 42 |