From d922d7e7ceda786f74f22742842f32a3bb397903 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Mon, 16 Mar 2015 13:12:40 +0100 Subject: [PATCH] Add actual command --- readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.md b/readme.md index e616230..c923ba9 100644 --- a/readme.md +++ b/readme.md @@ -18,6 +18,8 @@ Note: You do need CodeIntel for Sublime Text: https://github.com/SublimeCodeInte It's possible to generate a PhpStorm meta file, to [add support for factory design pattern](https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata). For Laravel, this means we can make PhpStorm understand what kind of object we are resolving from the IoC Container. For example, `events` will return ann `Illuminate\Events\Dispatcher` object, so with the meta file you can call `app('events')` and it will autocomplete the Dispatcher methods. + php artisan ide-helper:meta + app('events')->fire(); \App::make('events')->..