PHP Class Prose\DelayedComparisonAction
For example, this class makes it possible to write Prose like this:
$newStats = $st->fromCppDaemon()->getStats();
$st->expectsCppDaemonStats($newStats)->counter('no_of_tweets')->hasIncreasedBy(1)->since($oldStats);
Mostrar archivo
Open project: datasift/storyplayer
Protected Properties
Public Methods
Method |
Description |
|
__construct ( StoryTeller $st, $newStats, $action ) |
|
|
since ( $oldStats ) |
|
|
Method Details
__construct()
public method
public __construct ( StoryTeller $st, $newStats, $action ) |
$st |
DataSift\Storyplayer\PlayerLib\StoryTeller |
|
public since ( $oldStats ) |
Property Details
$action protected_oe property
$newStats protected_oe property
$st protected_oe property