Passed
Push — 1.0.x ( 8353d5...3a2c37 )
by Julien
21:28
created

AbstractOffset

Complexity

Total Complexity 0

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 9
ccs 0
cts 4
cp 0
wmc 0
1
<?php
2
3
/**
4
 * This file is part of the Zemit Framework.
5
 *
6
 * (c) Zemit Team <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE.txt
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Zemit\Mvc\Controller\Traits\Abstracts\Query;
13
14
use Phalcon\Filter\Exception;
15
use Phalcon\Filter\Filter;
16
use Zemit\Mvc\Controller\Traits\Abstracts\AbstractParams;
17
18
/**
19
 * This trait provides functionality to set and get an offset value for a query.
20
 */
21
trait AbstractOffset
22
{
23
    abstract public function initializeOffset(): void;
24
    
25
    abstract public function setOffset(?int $offset): void;
26
    
27
    abstract public function getOffset(): ?int;
28
    
29
    abstract public function defaultOffset(): ?int;
30
}
31