Skip to content

Instantly share code, notes, and snippets.

View cuteapoot's full-sized avatar

Nova Rose cuteapoot

View GitHub Profile

Keybase proof

I hereby claim:

  • I am cuteapoot on github.
  • I am jbobo (https://keybase.io/jbobo) on keybase.
  • I have a public key ASAUM_4i2L_jRVNt2alJ141BRt-8fEkaHRowBXBa_OOQNQo

To claim this, I am signing this object:

<?php
/**
* Map $callable over the given array. Point is that array_map:
* (1) only works on literal arrays, and
* (2) doesn't pass the key into the callback.
*
* @param $array
* @param \Closure $callable ($value, $key) => mixed
*
@cuteapoot
cuteapoot / routes.php
Last active October 3, 2016 16:54
VOID API routes
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond to
| and give it the Closure to call when that URI is requested.