mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-01 23:39:58 +00:00
48 lines
662 B
PHP
48 lines
662 B
PHP
<?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);
|
|
|
|
} |