Complete migration of node controllers/repositories to new service structure

This commit is contained in:
Dane Everitt 2017-08-08 21:21:10 -05:00
parent 669119c8f8
commit 7277f728a9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 40 additions and 36 deletions

View file

@ -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.
*