Complete migration of node controllers/repositories to new service structure
This commit is contained in:
parent
669119c8f8
commit
7277f728a9
4 changed files with 40 additions and 36 deletions
|
@ -84,10 +84,18 @@ interface RepositoryInterface
|
|||
* Delete a given record from the database.
|
||||
*
|
||||
* @param int $id
|
||||
* @return bool|null
|
||||
* @return int
|
||||
*/
|
||||
public function delete($id);
|
||||
|
||||
/**
|
||||
* Delete records matching the given attributes.
|
||||
*
|
||||
* @param array $attributes
|
||||
* @return int
|
||||
*/
|
||||
public function deleteWhere(array $attributes);
|
||||
|
||||
/**
|
||||
* Find a model that has the specific ID passed.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue