Test Setup Failed
Push — main ( abdcb9...2e5f68 )
by Slawomir
04:37
created

DoctrinePostsRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getManagerName() 0 3 1
1
<?php
2
3
namespace App\Modules\Posts\Persistence\Doctrine\Repository;
4
5
use App\Infrastructure\Doctrine\Repository\DoctrineRepository;
6
7
class DoctrinePostsRepository extends DoctrineRepository
8
{
9
10
    /**
11
     * @return string
12
     */
13
    protected function getManagerName(): string
14
    {
15
        return "posts";
16
    }
17
}