SearchArray::getMeta()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 1
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
/**
4
 * This software package is licensed under `AGPL-3.0-only, proprietary` license[s].
5
 *
6
 * @package maslosoft/manganel
7
 * @license AGPL-3.0-only, proprietary
8
 *
9
 * @copyright Copyright (c) Peter Maselkowski <[email protected]>
10
 * @link https://maslosoft.com/manganel/
11
 */
12
13
namespace Maslosoft\Manganel;
14
15
use Maslosoft\Addendum\Interfaces\AnnotatedInterface;
16
use Maslosoft\Mangan\Interfaces\Transformators\TransformatorInterface;
17
use Maslosoft\Mangan\Transformers\Transformer;
18
use Maslosoft\Manganel\Meta\ManganelMeta;
19
20
/**
21
 * SearchArray
22
 *
23
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
24
 */
25
class SearchArray extends Transformer implements TransformatorInterface
26
{
27
28
	protected static function getMeta(AnnotatedInterface $model)
29
	{
30
		return ManganelMeta::create($model);
31
	}
32
33
}
34