Completed
Push — master ( afa4f8...42f6c3 )
by Peter
22:39
created

SearchProvider   A

Complexity

Total Complexity 11

Size/Duplication

Total Lines 59
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 11
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 59
rs 10

11 Methods

Rating   Name   Duplication   Size   Complexity  
A getCriteria() 0 4 1
A getData() 0 4 1
A getItemCount() 0 4 1
A getModel() 0 4 1
A getPagination() 0 4 1
A getSort() 0 4 1
A getTotalItemCount() 0 4 1
A setCriteria() 0 4 1
A setModel() 0 4 1
A setPagination() 0 4 1
A setSort() 0 4 1
1
<?php
2
3
/*
4
 * To change this license header, choose License Headers in Project Properties.
5
 * To change this template file, choose Tools | Templates
6
 * and open the template in the editor.
7
 */
8
9
namespace Maslosoft\Manganel;
10
11
use Maslosoft\Addendum\Interfaces\AnnotatedInterface;
12
use Maslosoft\Mangan\Interfaces\DataProviderInterface;
13
use Maslosoft\Mangan\Interfaces\SortInterface;
14
use Maslosoft\Mangan\Pagination;
15
16
/**
17
 * SearchProvider
18
 *
19
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
20
 */
21
class SearchProvider implements DataProviderInterface
22
{
23
24
	public function getCriteria()
25
	{
26
27
	}
28
29
	public function getData($refresh = false)
30
	{
31
		
32
	}
33
34
	public function getItemCount($refresh = false)
35
	{
36
37
	}
38
39
	public function getModel()
40
	{
41
		
42
	}
43
44
	public function getPagination($className = Pagination::class)
45
	{
46
47
	}
48
49
	public function getSort()
50
	{
51
		
52
	}
53
54
	public function getTotalItemCount()
55
	{
56
57
	}
58
59
	public function setCriteria($criteria)
60
	{
61
		
62
	}
63
64
	public function setModel(AnnotatedInterface $model)
65
	{
66
67
	}
68
69
	public function setPagination($pagination)
70
	{
71
		
72
	}
73
74
	public function setSort(SortInterface $sort)
75
	{
76
77
	}
78
79
}
80