Skip to content

Instantly share code, notes, and snippets.

@syossan27
Created July 9, 2014 09:30
Show Gist options
  • Save syossan27/5756be80b0d701a63ef5 to your computer and use it in GitHub Desktop.
Save syossan27/5756be80b0d701a63ef5 to your computer and use it in GitHub Desktop.
Laravelプロジェクト内のviewsのキャッシュクリアコマンドを追加する ref: http://qiita.com/syossan27/items/49a71228640c40936251
<?php
/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new ViewsCommand);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment