for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\ModelCleanup;
class ModelWasCleanedUp
{
/**
* Holds the model class name.
*
* @var string
*/
public $modelClass;
* Holds the number of deleted records for the model.
* @var int
public $numberOfDeletedRecords;
public function __construct(string $modelClass, int $numberOfDeletedRecords)
$this->modelClass = $modelClass;
$this->numberOfDeletedRecords = $numberOfDeletedRecords;
}