AbstractRepository   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 16
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A createQuery() 0 7 1
1
<?php
2
3
/**
4
 * Abstract Repository
5
 */
6
7
namespace FRUIT\GoogleServices\Domain\Repository;
8
9
use TYPO3\CMS\Extbase\Persistence\QueryInterface;
10
use TYPO3\CMS\Extbase\Persistence\Repository;
11
12
/**
13
 * Abstract Repository
14
 *
15
 * @author Tim Lochmüller
16
 */
17
abstract class AbstractRepository extends Repository
18
{
19
20
    /**
21
     * Create Query without Storage Respect
22
     *
23
     * @return QueryInterface
24
     */
25
    public function createQuery()
26
    {
27
        $query = parent::createQuery();
28
        $query->getQuerySettings()
29
            ->setRespectStoragePage(false);
30
        return $query;
31
    }
32
}
33