Completed
Push — master ( 1c7026...6247dd )
by Peter
14:53
created

SearchCriteriaArray::getMeta()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: peter
5
 * Date: 23.01.18
6
 * Time: 13:44
7
 */
8
9
namespace Maslosoft\Manganel;
10
11
12
use Maslosoft\Addendum\Interfaces\AnnotatedInterface;
13
use Maslosoft\Mangan\Transformers\RawArray;
14
use Maslosoft\Manganel\Meta\ManganelMeta;
15
16
class SearchCriteriaArray extends RawArray
17
{
18
	protected static function getMeta(AnnotatedInterface $model)
19
	{
20
		return ManganelMeta::create($model);
21
	}
22
}