filipgolonka/prophecy-datetime-approximate-token
Composer 安装命令:
composer require filipgolonka/prophecy-datetime-approximate-token
包简介
DateTime approximate token allows you to write specs without 1second problem
README 文档
README
Installation
composer require filipgolonka/prophecy-datetime-approximate-token
Usage
Inside some example:
$collaborator->methodAcceptedDatetime(new DatetimeApproximateToken(new \DateTime()))->shouldBeCalled();
You can also use this token for collaborator method accepted date string:
$collaborator->methodAcceptedDateString(new DatetimeApproximateToken(new \DateTime()))->shouldBeCalled();
统计信息
- 总下载量: 14.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-25