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);
Show file 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 property

protected $action

$newStats protected property

protected $newStats

$st protected property

protected $st