Simple Route
This commit is contained in:
1 parent
156d277e77
commit
ab1df63788
156 files changed
+13136
No files matched your search
+48
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
namespace Pecee\Controllers;
|
||||
|
||||
interface IResourceController
|
||||
{
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function index();
|
||||
|
||||
/**
|
||||
* @param mixed $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function show($id);
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function store();
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function create();
|
||||
|
||||
/**
|
||||
* View
|
||||
* @param mixed $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function edit($id);
|
||||
|
||||
/**
|
||||
* @param mixed $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function update($id);
|
||||
|
||||
/**
|
||||
* @param mixed $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function destroy($id);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user