Created
July 5, 2015 16:00
-
-
Save JuanLuisGarciaBorrego/1a84245723fac032ebb6 to your computer and use it in GitHub Desktop.
UserRepository DeleteInterface
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
class UserRepository implements CRUInterface | |
{ | |
public function insert($data) | |
{ | |
//acción insert en BD | |
} | |
public function update($data) | |
{ | |
//acción update en BD | |
} | |
public function findAll($data) | |
{ | |
//Muestra toda las filas de la tabla en BD | |
} | |
public function findById($data) | |
{ | |
//Busca la fila que tenga el id x | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment