mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 15:25:45 +01:00
Besides the interface's name, everything already calls this type "Rule", not "Validatable." This commit puts a stone on it and renames the interface for better naming.
17 lines
287 B
PHP
17 lines
287 B
PHP
<?php
|
|
|
|
/*
|
|
* Copyright (c) Alexandre Gomes Gaigalas <alganet@gmail.com>
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Respect\Validation\Rules\Core;
|
|
|
|
use Respect\Validation\Rule;
|
|
|
|
interface KeyRelated extends Rule
|
|
{
|
|
public function getKey(): int|string;
|
|
}
|