mirror of https://github.com/itflow-org/itflow
20 lines
482 B
PHP
20 lines
482 B
PHP
<?php
|
|
|
|
namespace Illuminate\Contracts\Database\Eloquent;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
interface ComparesCastableAttributes
|
|
{
|
|
/**
|
|
* Determine if the given values are equal.
|
|
*
|
|
* @param \Illuminate\Database\Eloquent\Model $model
|
|
* @param string $key
|
|
* @param mixed $firstValue
|
|
* @param mixed $secondValue
|
|
* @return bool
|
|
*/
|
|
public function compare(Model $model, string $key, mixed $firstValue, mixed $secondValue);
|
|
}
|