| 1 | <?php namespace Limoncello\Validation\Rules\Generic; |
||
| 25 | final class Value extends ExecuteRule |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * Property key. |
||
| 29 | */ |
||
| 30 | private const PROPERTY_VALUE = self::PROPERTY_LAST + 1; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param array $value |
||
| 34 | */ |
||
| 35 | 1 | public function __construct($value) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @param mixed $value |
||
| 44 | * @param ContextInterface $context |
||
| 45 | * |
||
| 46 | * @return array |
||
| 47 | * |
||
| 48 | * @SuppressWarnings(PHPMD.StaticAccess) |
||
| 49 | */ |
||
| 50 | 1 | public static function execute($value, ContextInterface $context): array |
|
| 56 | } |
||
| 57 |