Skip to content

Commit

Permalink
Create controller.stub
Browse files Browse the repository at this point in the history
  • Loading branch information
hamrahpay committed Dec 3, 2015
1 parent 4e9f225 commit b0ca062
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Console/Stubs/controller.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php
namespace {{namespace}}\{{moduleName}}\Http\Controllers;

use Illuminate\Foundation\Http\FormRequest;
use App\Http\Controllers\Controller;

class {{className}} extends Controller
{

public function index()
{
return "Controller Index";
}

}

0 comments on commit b0ca062

Please sign in to comment.