-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92fb2c0
commit 6848b3e
Showing
2 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
interface Crud { | ||
#Função destinada para criar um novo registro no banco. | ||
public function create(); | ||
|
||
#Função destinada a fazer uma busca no banco e apresentar ela | ||
public function read(); | ||
|
||
#função destinada a eliminar um registro do banco. | ||
public function delete(int $id); | ||
|
||
#função destinada a editar um registro do banco. | ||
public function update(int $id, array $request); | ||
|
||
|
||
|
||
} |