Completed
Push — master ( 2bba83...89500b )
by Peter
22:29
created

TrashItem   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 23
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCollectionName() 0 4 1
1
<?php
2
3
/**
4
 * This software package is licensed under AGPL or Commercial license.
5
 *
6
 * @package maslosoft/mangan
7
 * @licence AGPL or Commercial
8
 * @copyright Copyright (c) Piotr Masełkowski <[email protected]>
9
 * @copyright Copyright (c) Maslosoft
10
 * @copyright Copyright (c) Others as mentioned in code
11
 * @link http://maslosoft.com/mangan/
12
 */
13
14
namespace Maslosoft\Mangan\Model;
15
16
use Maslosoft\Mangan\Document;
17
use Maslosoft\Mangan\Interfaces\TrashInterface;
18
19
/**
20
 * TrashItem
21
 *
22
 * @Label('Trashed item')
23
 * @author Piotr
24
 */
25
class TrashItem extends Document implements TrashInterface
26
{
27
28
	/**
29
	 * Element name
30
	 * @Label('Name')
31
	 * @var string
32
	 */
33
	public $name = '';
34
35
	/**
36
	 * Type of trashed item
37
	 * @Label('Type')
38
	 * @var string
39
	 */
40
	public $type = '';
41
42
	public function getCollectionName()
43
	{
44
		return 'Mangan.Trash';
45
	}
46
47
}
48