mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-12 19:33:45 +02:00
Service refactor to improve organization
This commit is contained in:
@@ -108,6 +108,14 @@ interface RepositoryInterface
|
||||
*/
|
||||
public function findWhere(array $fields);
|
||||
|
||||
/**
|
||||
* Find and return the first matching instance for the given fields.
|
||||
*
|
||||
* @param array $fields
|
||||
* @return mixed
|
||||
*/
|
||||
public function findFirstWhere(array $fields);
|
||||
|
||||
/**
|
||||
* Update a given ID with the passed array of fields.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user