Completed
Push — master ( 2e6f46...d7b6ad )
by Ondřej
03:21
created

RelationRecipe::where()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
namespace Ivory\Query;
3
4
use Ivory\Exception\NotImplementedException;
5
6
abstract class RelationRecipe implements IRelationRecipe
7
{
8
    public function limit($limit, int $offset = 0): IRelationRecipe
9
    {
10
        return new LimitedRelationRecipe($this, $limit, $offset);
11
    }
12
13
    public function where($cond, ...$args): IRelationRecipe
14
    {
15
        throw new NotImplementedException();
16
    }
17
18
    public function sort(...$sortExpressions): IRelationRecipe
19
    {
20
        throw new NotImplementedException();
21
    }
22
}
23