Skip to content

Instantly share code, notes, and snippets.

View westphalen's full-sized avatar

Sune Westphalen westphalen

  • London, United Kingdom
View GitHub Profile
@westphalen
westphalen / RouteParam.php
Last active February 21, 2022 12:44
Get, set and forget route parameters on Lumen's array-based Request Router, avoiding `$request->route($key)` problem.
<?php
/**
* Created by PhpStorm.
* User: sune
* Date: 09/03/2017
* Time: 17.30
*/
namespace App\Support;