Trackable
last analyzed

Size/Duplication

Total Lines 58
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 58

8 Methods

Rating   Name   Duplication   Size   Complexity  
getUpdatedBy() 0 1 ?
setCreatedBy() 0 1 ?
setUpdatedBy() 0 1 ?
getCreatedBy() 0 1 ?
getCreatedAt() 0 1 ?
getUpdatedAt() 0 1 ?
setCreatedAt() 0 1 ?
setUpdatedAt() 0 1 ?
1
<?php
2
3
/*
4
 * This file is part of the Stinger Soft Platform package.
5
 *
6
 * (c) Oliver Kotte <[email protected]>
7
 * (c) Florian Meyer <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
namespace StingerSoft\PlatformBundle\Model;
13
14
interface Trackable {
0 ignored issues
show
Coding Style introduced by
Trackable does not seem to conform to the naming convention (^[A-Z][a-zA-Z0-9]*Interface$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
15
16
	/**
17
	 *
18
	 * @param
19
	 *        	mixed the user representation
20
	 * @return $this
21
	 */
22
	public function setCreatedBy($user);
23
24
	/**
25
	 *
26
	 * @param
27
	 *        	mixed the user representation
28
	 * @return $this
29
	 */
30
	public function setUpdatedBy($user);
31
32
	/**
33
	 *
34
	 * @return mixed the user who created entity
35
	 */
36
	public function getCreatedBy();
37
38
	/**
39
	 *
40
	 * @return mixed the user who last updated entity
41
	 */
42
	public function getUpdatedBy();
43
44
	/**
45
	 * Returns createdAt value.
46
	 *
47
	 * @return \DateTime
48
	 */
49
	public function getCreatedAt();
50
51
	/**
52
	 * Returns updatedAt value.
53
	 *
54
	 * @return \DateTime
55
	 */
56
	public function getUpdatedAt();
57
58
	/**
59
	 *
60
	 * @param \DateTime $createdAt        	
61
	 * @return $this
62
	 */
63
	public function setCreatedAt(\DateTime $createdAt);
64
65
	/**
66
	 *
67
	 * @param \DateTime $updatedAt        	
68
	 * @return $this
69
	 */
70
	public function setUpdatedAt(\DateTime $updatedAt);
71
}