Completed
Pull Request — master (#822)
by
unknown
19:08
created

UserService   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A create() 0 3 1
1
<?php
2
namespace OCA\Calendar\Service;
3
4
class UserService {
5
6
    private $userManager;
7
8
    public function __construct($userManager){
9
        $this->userManager = $userManager;
10
    }
11
12
    public function create($userId, $password) {
13
        return $this->userManager->create($userId, $password);
14
    }
15
16
}