Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Satag\AmicronEntityBundle\CustomType;
6
7interface CustomTypeHandler
8{
9    /**
10     * @param array{key: string, typ: string} $field
11     */
12    public function getListValue(object $model, array $field): mixed;
13
14    /**
15     * @param array{key: string, typ: string} $field
16     */
17    public function getDetailValue(object $model, array $field): mixed;
18
19    /**
20     * @param array{key: string, typ: string} $field
21     */
22    public function setValue(object $model, array $field, mixed $value): void;
23
24    /**
25     * @param array{key: string, typ: string} $field
26     */
27    public function validate(mixed $value, array $field): bool;
28
29    public function getLastError(): string;
30}