Completed
Push — master ( 79428d...367fd6 )
by Cesar
27s queued 11s
created

HyperwalletService   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 25
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getUserService() 0 4 1
1
<?php
2
3
namespace App\Service;
4
5
use App\Service\Hyperwallet\UserService;
6
7
/**
8
 * Class HyperwalletService
9
 * @package App\Service
10
 */
11
class HyperwalletService
12
{
13
    /**
14
     * @var UserService
15
     */
16
    protected $userService;
17
18
    /**
19
     * HyperWalletService constructor.
20
     * @param UserService $userService
21
     */
22
    public function __construct(
23
        UserService $userService
24
    ) {
25
        $this->userService = $userService;
26
    }
27
28
    /**
29
     * @return UserService
30
     */
31
    public function getUserService(): UserService
32
    {
33
        return $this->userService;
34
    }
35
}
36