mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
21 lines
415 B
PHP
21 lines
415 B
PHP
<?php
|
|
|
|
/*
|
|
* Copyright (c) Alexandre Gomes Gaigalas <alganet@gmail.com>
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Respect\Validation\Transformers;
|
|
|
|
final readonly class RuleSpec
|
|
{
|
|
/** @param array<mixed> $arguments */
|
|
public function __construct(
|
|
public string $name,
|
|
public array $arguments = [],
|
|
public RuleSpec|null $wrapper = null,
|
|
) {
|
|
}
|
|
}
|