filipgolonka/prophecy-datetime-approximate-token

DateTime approximate token allows you to write specs without 1second problem

Installs: 14 573

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/filipgolonka/prophecy-datetime-approximate-token

0.3 2016-06-08 13:18 UTC

This package is not auto-updated.

Last update: 2025-10-12 01:57:53 UTC


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();