UserRepository   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 2
dl 0
loc 11
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A userDetails() 0 2 1
A getUsers() 0 3 1
1
<?php
2
3
namespace App\Project\Infrastructure\User;
4
5
use App\Project\Domain\User\Contract\UserRepositoryInterface;
6
use App\Project\App\Support\AppEntityRepository;
7
8
class UserRepository extends AppEntityRepository implements UserRepositoryInterface
9
{
10
11
    public function userDetails()
12
    {
13
        // TODO: Implement userDetails() method.
14
    }
15
16
    public function getUsers()
17
    {
18
        return $this->createQueryBuilder('u')->getQuery();
19
    }
20
}