Completed
Pull Request — develop (#241)
by ANTHONIUS
07:36
created

JobsBoardPaginatorFactory   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFilter() 0 4 1
A getConnectPath() 0 4 1
1
<?php
2
/**
3
 * YAWIK
4
 *
5
 * @filesource
6
 * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
 * @license   MIT
8
 */
9
10
namespace Solr\Paginator;
11
12
/**
13
 * Provide Solr version of JobsPaginatorFactory
14
 * This paginator factory will replace Jobs/Board with Solr/Jobs/Board paginator
15
 *
16
 * @author  Anthonius Munthi <[email protected]>
17
 * @since   0.27
18
 * @see     Jobs\Paginator\JobPaginatorFactory
19
 * @package Solr\Paginator
20
 */
21
class JobsBoardPaginatorFactory extends PaginatorFactoryAbstract
22
{
23
    protected function getFilter()
24
    {
25
        return 'Solr/Jobs/PaginationQuery';
26
    }
27
28
    protected function getConnectPath()
29
    {
30
        return '/solr/YawikJobs';
31
    }
32
}