File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,13 @@ $spec1 = new Specification1();
156156$spec2 = $spec1->not();
157157```
158158
159+ ## 使用例
160+
161+ - [ ngmy/php-specification-example] ( https://github.com/ngmy/php-specification-example )
162+ - このプロジェクトはPHP Specificationを使用して仕様パターンを実装するコード例です。
163+ ドメイン駆動設計のアプローチに従って書かれており、仕様とリポジトリーを組み合わせるコード例があります。
164+ ORMにはEloquentとDoctrineを使用しています。
165+
159166## License
160167
161168PHP Specificationは[ MITライセンス] ( http://opensource.org/licenses/MIT ) の下で提供されるオープンソースソフトウェアです。
Original file line number Diff line number Diff line change @@ -160,6 +160,13 @@ $spec1 = new Specification1();
160160$spec2 = $spec1->not();
161161```
162162
163+ ## Example of use
164+
165+ - [ ngmy/php-specification-example] ( https://github.com/ngmy/php-specification-example )
166+ - This project is a code example of using the PHP Specification to implement a specification pattern.
167+ It is written following Domain-Driven Design approach and has a code example of combining a specification and a repository.
168+ It uses Eloquent and Doctrine for the ORM.
169+
163170## License
164171
165172PHP Specification is open-sourced software licensed under the [ MIT license] ( http://opensource.org/licenses/MIT ) .
You can’t perform that action at this time.
0 commit comments