Skip to content

Commit

Permalink
abstract service class replaced by trait
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Sep 19, 2024
1 parent 44f7254 commit 671d6d3
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 12 deletions.
4 changes: 3 additions & 1 deletion src/Services/AuditService.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
* @package Fintech\Auth\Services
*
*/
class AuditService extends \Fintech\Core\Abstracts\Service
class AuditService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* AuditService constructor.
* @param AuditRepository $auditRepository
Expand Down
4 changes: 3 additions & 1 deletion src/Services/FavouriteService.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
* @package Fintech\Auth\Services
*
*/
class FavouriteService extends \Fintech\Core\Abstracts\Service
class FavouriteService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* FavouriteService constructor.
* @param FavouriteRepository $favouriteRepository
Expand Down
4 changes: 3 additions & 1 deletion src/Services/GeoIpService.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
* @package Fintech\Auth\Services
*
*/
class GeoIpService extends \Fintech\Core\Abstracts\Service
class GeoIpService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

public function __construct(private readonly GeoIp $driver)
{

Expand Down
4 changes: 3 additions & 1 deletion src/Services/LoginAttemptService.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
* @package Fintech\Auth\Services
*
*/
class LoginAttemptService extends \Fintech\Core\Abstracts\Service
class LoginAttemptService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* LoginAttemptService constructor.
* @param LoginAttemptRepository $loginAttemptRepository
Expand Down
4 changes: 3 additions & 1 deletion src/Services/OneTimePinService.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
* Class PermissionService
*
*/
class OneTimePinService extends \Fintech\Core\Abstracts\Service
class OneTimePinService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

private string $otpMethod;

/**
Expand Down
4 changes: 3 additions & 1 deletion src/Services/PasswordResetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
* Class PermissionService
*
*/
class PasswordResetService extends \Fintech\Core\Abstracts\Service
class PasswordResetService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* @var mixed|string
*/
Expand Down
4 changes: 3 additions & 1 deletion src/Services/PermissionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
* Class PermissionService
*
*/
class PermissionService extends \Fintech\Core\Abstracts\Service
class PermissionService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* PermissionService constructor.
* @param PermissionRepository $permissionRepository
Expand Down
4 changes: 3 additions & 1 deletion src/Services/PinResetService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
* Class PermissionService
*
*/
class PinResetService extends \Fintech\Core\Abstracts\Service
class PinResetService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* @var mixed|string
*/
Expand Down
4 changes: 3 additions & 1 deletion src/Services/ProfileService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
* Class UserService
*
*/
class ProfileService extends \Fintech\Core\Abstracts\Service
class ProfileService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* UserService constructor.
* @param ProfileRepository $profileRepository
Expand Down
4 changes: 3 additions & 1 deletion src/Services/RoleService.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
* Class RoleService
*
*/
class RoleService extends \Fintech\Core\Abstracts\Service
class RoleService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* RoleService constructor.
* @param RoleRepository $roleRepository
Expand Down
4 changes: 3 additions & 1 deletion src/Services/TeamService.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
* Class TeamService
*
*/
class TeamService extends \Fintech\Core\Abstracts\Service
class TeamService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

/**
* TeamService constructor.
* @param TeamRepository $teamRepository
Expand Down
4 changes: 3 additions & 1 deletion src/Services/UserService.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
* Class UserService
*
*/
class UserService extends \Fintech\Core\Abstracts\Service
class UserService
{
use \Fintech\Core\Traits\HasFindWhereSearch;

private array $loginAttempt;

/**
Expand Down

0 comments on commit 671d6d3

Please sign in to comment.