HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/kommabasic.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;
}