Skip to content

Instantly share code, notes, and snippets.

View EvanDotPro's full-sized avatar

Evan Coury EvanDotPro

  • X @EvanDotPro
View GitHub Profile
EvanDotPro / 0_reuse_code.js
Created March 30, 2017 19:37
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
public function addAction() {
$form = new \Zebreco\Form\Contact();
if ($this->getRequest()->isPost()) {
$service = $this->getServiceLocator()->get('Zebreco\Service\Contact');