Skip to content

Instantly share code, notes, and snippets.

@kimberv
Created November 23, 2016 18:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kimberv/d1f3f55e3b92d4c27a7cf0a5126a0f4e to your computer and use it in GitHub Desktop.
step definition
<?php
...
/**
* @Given The child received a :arg1
* @Given The child received a :arg1 :arg2
*/
public function theChildReceivedAGift($arg1, $arg2 = null)
{
var_dump(func_get_args());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment