UserRepository::getUsers()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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