From 19f7d75c1021b869c23342aabe9dfed2a8fb6e17 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Thu, 25 Jun 2015 13:32:53 +0200 Subject: [PATCH] Update readme.md --- readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme.md b/readme.md index 24a7038..23ef5b8 100644 --- a/readme.md +++ b/readme.md @@ -25,6 +25,9 @@ It's possible to generate a PhpStorm meta file, to [add support for factory desi /** @var \Illuminate\Foundation\Application $app */ $app->make('events')->fire(); + + // When the key is not found, it uses the argument as class name + app('App\SomeClass'); Pre-generated example: https://gist.github.com/barryvdh/bb6ffc5d11e0a75dba67