Last active
August 29, 2015 14:08
-
-
Save everzet/86960aa56afd62e0decb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ESContext | |
{ | |
/** | |
* @Given a conference named :name with :count track(s) was scheduled | |
*/ | |
public function aConferenceNamedWithTrack($name, $count) | |
{ | |
$this->dispatchEvent(ConferenceNamedWithTracksWasScheduled($name, $count)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class LayeredContext | |
{ | |
/** | |
* @Given a conference named :name with :count track(s) was scheduled | |
*/ | |
public function aConferenceNamedWithTrack($name, $count) | |
{ | |
$this->conference = Conference::namedWithTracks($name, $count); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment