IEntityCreator
last analyzed

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 12
ccs 1
cts 1
cp 1
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
setCreatedBy() 0 1 ?
getCreatedBy() 0 1 ?
1
<?php
2
/**
3
 * IEntityCreator.php
4
 *
5
 * @copyright      More in license.md
6
 * @license        https://www.ipublikuj.eu
7
 * @author         Adam Kadlec <[email protected]>
8
 * @package        iPublikuj:DoctrineBlameable!
9
 * @subpackage     Entities
10
 * @since          1.0.0
11
 *
12
 * @date           10.11.15
13
 */
14
15
declare(strict_types = 1);
16
17
namespace IPub\DoctrineBlameable\Entities;
18
19
/**
20
 * Doctrine blameable author entity interface
21
 *
22
 * @package        iPublikuj:DoctrineBlameable!
23
 * @subpackage     Entities
24
 *
25
 * @author         Adam Kadlec <[email protected]>
26
 */
27 1
interface IEntityCreator
28
{
29
	/**
30
	 * @param mixed $createdBy
31
	 */
32
	public function setCreatedBy($createdBy) : void;
33
34
	/**
35
	 * @return mixed
36
	 */
37
	public function getCreatedBy();
38
}
39