Last active
August 29, 2015 14:11
-
-
Save rizqidjamaluddin/6e70a2b5b6f3f49e4ec5 to your computer and use it in GitHub Desktop.
This file contains 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 CakeController { | |
public function createOrder() { | |
$cake = new Cake(); | |
$cake->isFor(Input::get('customer')); | |
$cake->addFlavor(Input::get('flavor')); | |
$cake->bake(); | |
$cake->save(); | |
return $cake; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment