AutoCallBackAsset   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A html() 0 3 1
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