-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '5.6' of https://github.com/OzairP/framework into OzairP…
…-5.6
- Loading branch information
Showing
4 changed files
with
214 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?php | ||
|
||
namespace DummyNamespace; | ||
|
||
use Illuminate\Http\Request; | ||
use DummyRootNamespaceHttp\Controllers\Controller; | ||
|
||
class DummyClass extends Controller | ||
{ | ||
/** | ||
* Display a listing of the resource. | ||
* | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function index() | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Store a newly created resource in storage. | ||
* | ||
* @param \Illuminate\Http\Request $request | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function store(Request $request) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Display the specified resource. | ||
* | ||
* @param int $id | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function show($id) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Update the specified resource in storage. | ||
* | ||
* @param \Illuminate\Http\Request $request | ||
* @param int $id | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function update(Request $request, $id) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Remove the specified resource from storage. | ||
* | ||
* @param int $id | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function destroy($id) | ||
{ | ||
// | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
src/Illuminate/Routing/Console/stubs/controller.model.api.stub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?php | ||
|
||
namespace DummyNamespace; | ||
|
||
use DummyFullModelClass; | ||
use Illuminate\Http\Request; | ||
use DummyRootNamespaceHttp\Controllers\Controller; | ||
|
||
class DummyClass extends Controller | ||
{ | ||
/** | ||
* Display a listing of the resource. | ||
* | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function index() | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Store a newly created resource in storage. | ||
* | ||
* @param \Illuminate\Http\Request $request | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function store(Request $request) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Display the specified resource. | ||
* | ||
* @param \DummyFullModelClass $DummyModelVariable | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function show(DummyModelClass $DummyModelVariable) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Update the specified resource in storage. | ||
* | ||
* @param \Illuminate\Http\Request $request | ||
* @param \DummyFullModelClass $DummyModelVariable | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function update(Request $request, DummyModelClass $DummyModelVariable) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Remove the specified resource from storage. | ||
* | ||
* @param \DummyFullModelClass $DummyModelVariable | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function destroy(DummyModelClass $DummyModelVariable) | ||
{ | ||
// | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
src/Illuminate/Routing/Console/stubs/controller.nested.api.stub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?php | ||
|
||
namespace DummyNamespace; | ||
|
||
use DummyFullModelClass; | ||
use ParentDummyFullModelClass; | ||
use Illuminate\Http\Request; | ||
use DummyRootNamespaceHttp\Controllers\Controller; | ||
|
||
class DummyClass extends Controller | ||
{ | ||
/** | ||
* Display a listing of the resource. | ||
* | ||
* @param \ParentDummyFullModelClass $ParentDummyModelVariable | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function index(ParentDummyModelClass $ParentDummyModelVariable) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Store a newly created resource in storage. | ||
* | ||
* @param \Illuminate\Http\Request $request | ||
* @param \ParentDummyFullModelClass $ParentDummyModelVariable | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function store(Request $request, ParentDummyModelClass $ParentDummyModelVariable) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Display the specified resource. | ||
* | ||
* @param \ParentDummyFullModelClass $ParentDummyModelVariable | ||
* @param \DummyFullModelClass $DummyModelVariable | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function show(ParentDummyModelClass $ParentDummyModelVariable, DummyModelClass $DummyModelVariable) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Update the specified resource in storage. | ||
* | ||
* @param \Illuminate\Http\Request $request | ||
* @param \ParentDummyFullModelClass $ParentDummyModelVariable | ||
* @param \DummyFullModelClass $DummyModelVariable | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function update(Request $request, ParentDummyModelClass $ParentDummyModelVariable, DummyModelClass $DummyModelVariable) | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Remove the specified resource from storage. | ||
* | ||
* @param \ParentDummyFullModelClass $ParentDummyModelVariable | ||
* @param \DummyFullModelClass $DummyModelVariable | ||
* @return \Illuminate\Http\Response | ||
*/ | ||
public function destroy(ParentDummyModelClass $ParentDummyModelVariable, DummyModelClass $DummyModelVariable) | ||
{ | ||
// | ||
} | ||
} |