| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class RelationMorphFromModelWasCleaned |
||
| 9 | { |
||
| 10 | public $model; |
||
| 11 | |||
| 12 | public $relation; |
||
| 13 | |||
| 14 | public $numDeleted; |
||
| 15 | |||
| 16 | public $dryRun; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Event dispach when clean relations morph from model. |
||
| 20 | * |
||
| 21 | * @param Model $model |
||
| 22 | * @param Relation $relation |
||
| 23 | * @param int $numDeleted |
||
| 24 | * @param bool $dryRun |
||
| 25 | */ |
||
| 26 | public function __construct(Model $model, Relation $relation, int $numDeleted, bool $dryRun) |
||
| 34 |