engelsystem/tests/Unit/Controllers/Stub/CleanupModelImplementation.php

22 lines
471 B
PHP
Raw Normal View History

2020-10-21 00:11:33 +02:00
<?php
namespace Engelsystem\Test\Unit\Controllers\Stub;
use ArrayAccess;
use Engelsystem\Controllers\CleanupModel;
use Illuminate\Database\Eloquent\Model;
class CleanupModelImplementation
{
use CleanupModel;
/**
* @param Model|ArrayAccess|Model[] $model
* @param array $attributes
*/
public function cleanup($model, array $attributes = []): void
{
$this->cleanupModelNullValues($model, $attributes);
}
}