AutoCallBackAsset::html()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Phpsa\Datastore\Ams;
4
use Phpsa\Datastore\Asset;
5
6
class AutoCallBackAsset extends Asset {
7
8
    public $type = AutoCallBackAsset::class;
9
    public $namespace = 'property';
10
11
    public static function html($data) {
12
		$content = explode('|', $data['meta']);
13
        return '<span>' . $content[1] . '</span>';
14
	}
15
16
17
}
18