-
Notifications
You must be signed in to change notification settings - Fork 18
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
Arman
committed
Aug 21, 2024
1 parent
e1a6c51
commit f8fea63
Showing
17 changed files
with
113 additions
and
29 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 @@ | ||
#qt |
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
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
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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* @author Arman Ag. <[email protected]> | ||
* @copyright Copyright (c) 2018 Softberg LLC (https://softberg.org) | ||
* @link http://quantum.softberg.org/ | ||
* @since 2.8.0 | ||
* @since 2.9.0 | ||
*/ | ||
|
||
namespace Shared\Services; | ||
|
@@ -96,10 +96,15 @@ public function userSchema(): array | |
} | ||
|
||
/** | ||
* Get | ||
* Get | ||
* @param string $field | ||
* @param mixed $value | ||
* @param $value | ||
* @return AuthUser|null | ||
* @throws ConfigException | ||
* @throws DatabaseException | ||
* @throws DiException | ||
* @throws ModelException | ||
* @throws ReflectionException | ||
*/ | ||
public function get(string $field, $value): ?AuthUser | ||
{ | ||
|
@@ -116,6 +121,11 @@ public function get(string $field, $value): ?AuthUser | |
* Add user | ||
* @param array $data | ||
* @return AuthUser | ||
* @throws ConfigException | ||
* @throws DatabaseException | ||
* @throws DiException | ||
* @throws ModelException | ||
* @throws ReflectionException | ||
*/ | ||
public function add(array $data): AuthUser | ||
{ | ||
|
@@ -137,6 +147,11 @@ public function add(array $data): AuthUser | |
* @param string|null $value | ||
* @param array $data | ||
* @return AuthUser|null | ||
* @throws ConfigException | ||
* @throws DatabaseException | ||
* @throws DiException | ||
* @throws ModelException | ||
* @throws ReflectionException | ||
*/ | ||
public function update(string $field, ?string $value, array $data): ?AuthUser | ||
{ | ||
|
@@ -162,7 +177,6 @@ public function deleteTable() | |
|
||
/** | ||
* @param string $uuid | ||
* @return void | ||
* @throws DiException | ||
* @throws ReflectionException | ||
*/ | ||
|
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
Oops, something went wrong.