Ray.Di
Ray.Di copied to clipboard
A dependency injection framework for PHP
現状ではインジェクターをクローンしてもコンテナはクローンされず、クローンされたインジェクタと元のインジェクタは同じシングルトンコンテナを共有しています。 ユニットテストなど繰り返しインジェクターを取得する時にフレッシュなコンテナを再利用するためにシングルトンインスタンスの入ったコンテナクローンもします。 Currently, cloning an injector does not clone the container, and the cloned injector and the original injector share the same singleton container. We also do container clones with...
* Update message * Produce binding log, Error message show its path.
The "nikic/php-parser" dependency is no longer needed in our ## Summary by CodeRabbit - **Chores** - Updated PHP version from 8.1 to 8.3 in workflow configurations. - **Refactor** - Removed...
## Motivation / モチベーション 従来のUnbound例外メッセージには以下の問題がありました: 1. **型もなく名前もない場合のエラーが不明瞭** - `dependency '' with name ''` という無意味なメッセージ - 「束縛がない」ではなく「識別できない」という本質が伝わらない 2. **メッセージ形式が冗長** - `dependency 'FooInterface' with name '' used in file.php:10 ($foo)` は長い -...
## Summary This PR restores method-level attribute support that was removed in commit `da864a5e`, but adds deprecation warnings and **keeps `src/` extremely clean** by isolating all legacy code in `src-deprecated/`...