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

Property Type Description
$action
$newStats
$st

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

since() public method

public since ( $oldStats )

Property Details

$action protected_oe property

protected $action

$newStats protected_oe property

protected $newStats

$st protected_oe property

protected $st