Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (31 sloc) 758 Bytes
<?php
namespace App\Http\Repositories;
use App\User;
use Illuminate\Http\Request;
class CrudRepository
{
protected $crudInterface;
public function __constrct(CrudInterface $crudInterface)
{
$this->crudInterface = $crudInterface;
}
// Show list of the user
public function index(){
return "Return the view page from the index";
}
// Show user create form
public function create(){
}
// Store a new user record
public function store(Request $request){
}
// Show User edit form
public function edit($id){
}
// Update user's existing data.
public function put(Request $request, $id){
}
// Delete a user
public function delete($id){
}
}
You can’t perform that action at this time.