AbstractRepository::createQuery()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

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