ConditionInterface::setKey()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
/**
3
 * @company MTE Telecom, Ltd.
4
 * @author Roman Malashin <[email protected]>
5
 */
6
7
namespace Nnx\DataGrid\Condition;
8
9
/**
10
 * Interface ConditionInterface
11
 * @package Nnx\DataGrid
12
 */
13
interface ConditionInterface
14
{
15
    /**
16
     * Возвращает условие по которому осуществляется фильтрация (=, >, < и т.д.)
17
     * @return int
18
     */
19
    public function getCriteria();
20
21
    /**
22
     * Устанавливает условие по которому осуществляется фильтрация
23
     * (=, >, < и т.д.)
24
     * @param int $criteria
25
     * @return mixed
26
     */
27
    public function setCriteria($criteria);
28
29
    /**
30
     * Возвращает ключ по которому осуществляется фильтрация
31
     * @return string
32
     */
33
    public function getKey();
34
35
    /**
36
     * Устанавливает ключ по которому осуществляется фильтрация
37
     * @param string $key
38
     * @return $this
39
     */
40
    public function setKey($key);
41
42
    /**
43
     * Значение критерия
44
     * @return mixed
45
     */
46
    public function getValue();
47
48
    /**
49
     * Устанавливает значения для критерия
50
     * @param mixed $value
51
     * @return $this
52
     */
53
    public function setValue($value);
54
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
55