Skip to content

Instantly share code, notes, and snippets.

@insign insign/exemplo6.php
Created Jan 28, 2017

Embed
What would you like to do?
<?php
public function store()
{
$product = $this->createProduct();
$this->applyDiscount('newProduct', $product);
$this->notifyUsersVia('email');
return 'Success';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.