arete/specification
Composer 安装命令:
composer require arete/specification
包简介
PHP Specification library.
README 文档
README
Specification library in PHP.
Eric Evans & Martin Fowlers paper on Specifications
Example
A post detailing the usage in more detail will be available soon.
Installation
It can be installed from Packagist using Composer.
In your project root just run:
$ composer require arete/specification
Make sure that you’ve set up your project to autoload Composer-installed packages.
Running tests
Run via the command line by going to arete/specification directory and running phpunit
@TODO
- ::remainderUnsatisfiedBy()
- ::isGeneralizationOf()
- ::isSpecializationOf()
- ::asQuery() for use with db, whether it uses argument, or sep methods
- abstract part of the Collection Pipeline matching into default/premades
P.S.
(I have had this written since I read the DDD books, I updated it a little and just found an old one by @mathiasverraes which was interesting!)
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-18