class Illuminate / Database / Events / ModelsPruned
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ModelsPruned

Properties

public

$model string

The class name of the model that was pruned.

Default: null
public

$count int

The number of pruned records.

Default: null

Methods

public

__construct ( $model , $count ) : void

Create a new event instance.

Parameters

  • $model string
  • $count int