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);
Afficher le fichier
Open project: datasift/storyplayer
Protected Properties
Méthodes publiques
Méthode |
Description |
|
__construct ( StoryTeller $st, $newStats, $action ) |
|
|
since ( $oldStats ) |
|
|
Method Details
__construct()
public méthode
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