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

SearchCriteriaArray   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 7
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMeta() 0 4 1
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
}