35 lines
456 B
PHP
35 lines
456 B
PHP
<?php
|
|
|
|
/**
|
|
* Interface ICRUDController
|
|
*/
|
|
interface ICRUDController {
|
|
|
|
/**
|
|
* @param $id
|
|
* @return mixed
|
|
*/
|
|
public function get($id);
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function create();
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function getByPage();
|
|
|
|
/**
|
|
* @param $id
|
|
* @return mixed
|
|
*/
|
|
public function delete($id);
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function update();
|
|
|
|
} |