Configuration read from /path/to/phpunit.xml . Time: 144 ms, Memory: 1.75Mb OK (1 test, 1 assertion) Generating code coverage report in HTML format ... done
public function addItem($item); public function removeItem($item); public function calculateTotal(); public function processPayment($account, $amount); }
public function addItem($item); public function removeItem($item); } interface BasketPaymentProcessor { public function calculateTotal(BasketCollection $collection); public function processPayment($account, $amount); }
public function errors($errors) { return Redirect::back()->withErrors($errors)->withInput(); } public function ok(array $product) { return Redirect::route("product/index"); }