File: D:/HostingSpaces/SBogers10/switch4u.komma.nl/vendor/komma/kms/src/Core/OutOfDateInterface.php
<?php declare(strict_types=1);
namespace Komma\KMS\Core;
use Illuminate\Database\Eloquent\Model;
interface OutOfDateInterface
{
/**
* Returns an array of form field names that are not up to date with the given model.
* Or an empty array if the model is up to date with form fields. The form fields must
* come from the outOfDateCheckFormFields method.
*
* @see outOfDateCheckFormFields
* @param Model $model
* @return array
*/
public function outOfDate(Model $model): array;
/**
* The form fields that will be used for a outOfDateCheck
*
* @return array
*@see outOfDate
*/
public function outOfDateCheckFormFields(): array;
}