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

HyperwalletService::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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