Skip to content

Instantly share code, notes, and snippets.

@dsalcedo
Last active April 8, 2019 16:41
Show Gist options
  • Save dsalcedo/2f3b00c13aa04b8be32458323a738744 to your computer and use it in GitHub Desktop.
Save dsalcedo/2f3b00c13aa04b8be32458323a738744 to your computer and use it in GitHub Desktop.
TEST
Example::myTestingMethod('test');

// Should be return message Hello {argument_var} !

$test = new Testing;
$test->name('My name')->alias('my_alias')->create();

// Should be return 
// Hi {my_name_var}! Your alias is {alias_var} :D

$test = new Person;
$test->setName('My name');
$test->setAlias('My alias');
$test->setYearOfBirth('2000');

$test->getAge(); // should be return my age
$test->getName();  // should be return my name
$test->getAlias();  // should be return my alias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment