yiisoft/hydrator

Debug collector

オープン

#32 opened on 2023/06/08

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)PHP (5 件のフォーク)auto 404
good first issuestatus:ready for adoption

Repository metrics

Stars
 (34 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド