25 lines
420 B
PHP
25 lines
420 B
PHP
|
<?php
|
||
|
|
||
|
namespace Illuminate\Database\Events;
|
||
|
|
||
|
class ModelPruningStarting
|
||
|
{
|
||
|
/**
|
||
|
* The class names of the models that will be pruned.
|
||
|
*
|
||
|
* @var array<class-string>
|
||
|
*/
|
||
|
public $models;
|
||
|
|
||
|
/**
|
||
|
* Create a new event instance.
|
||
|
*
|
||
|
* @param array<class-string> $models
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct($models)
|
||
|
{
|
||
|
$this->models = $models;
|
||
|
}
|
||
|
}
|