mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
* [ADD] Using URL routing * [ADD] Using dependency injection * [MOD] Big app structure changes
38 lines
534 B
PHP
38 lines
534 B
PHP
<?php
|
|
|
|
namespace SP\Mvc\Controller;
|
|
|
|
/**
|
|
* Interface CrudControllerInterface
|
|
*
|
|
* @package SP\Mvc\Controller
|
|
*/
|
|
interface CrudControllerInterface
|
|
{
|
|
|
|
/**
|
|
* Create action
|
|
*/
|
|
public function createAction();
|
|
|
|
/**
|
|
* Edit action
|
|
*
|
|
* @param $id
|
|
*/
|
|
public function editAction($id);
|
|
|
|
/**
|
|
* Save or modify action
|
|
*
|
|
* @param $id
|
|
*/
|
|
public function saveAction($id);
|
|
|
|
/**
|
|
* Delete action
|
|
*
|
|
* @param $id
|
|
*/
|
|
public function deleteAction($id);
|
|
} |