yiisoft/hydrator

Debug collector

Aberta

#32 aberto em 8 de jun. de 2023

 (0 comentário) (0 reação) (0 responsável)PHP (5 forks)auto 404
good first issuestatus:ready for adoption

Métricas do repositório

Stars
 (34 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

A collector for debugging is needed. Similar to https://github.com/yiisoft/validator/blob/master/src/Debug/ValidatorCollector.php is enough for the first iteration

In general would be nice to collect:

  • In-out hydration result: ['service', '5'] => new Model($serviceFromContainer, 5)
  • Data mutations: ['a', '5'] => new Model('abc', '555')
  • Data types mutations: '5' => 5

Guia do colaborador