| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | class FailedValidationSimpleCache extends AbstractFormDataProcessor implements FormDataProcessorInterface |
||
| 14 | { |
||
| 15 | protected CacheInterface $cache; |
||
| 16 | |||
| 17 | protected string $key; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var null|int|DateInterval |
||
| 21 | */ |
||
| 22 | protected $ttl; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $name |
||
| 26 | * @param CacheInterface $cache |
||
| 27 | * @param string $key |
||
| 28 | * @param null|int|DateInterval $ttl |
||
| 29 | */ |
||
| 30 | public function __construct(string $name, CacheInterface $cache, string $key, $ttl = null) |
||
| 37 | } |
||
| 38 | |||
| 39 | public function process(ServerRequestInterface $request, array $results): ?FormProcessReportInterface |
||
| 57 |