Completed
Pull Request — develop (#235)
by ANTHONIUS
07:49
created

PaginatorFactory   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFilter() 0 4 1
A getRepository() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: toni
5
 * Date: 20/06/16
6
 * Time: 14:59
7
 */
8
9
namespace Cv\Paginator;
10
11
12
use Core\Paginator\PaginatorFactoryAbstract;
13
14
class PaginatorFactory extends PaginatorFactoryAbstract
15
{
16
    protected function getFilter()
17
    {
18
        return 'Cv/PaginationQuery';
19
    }
20
21
    protected function getRepository()
22
    {
23
        return 'Cv/Cv';
24
    }
25
26
}