1 | <?php |
||
8 | trait AuthorableTrait |
||
9 | { |
||
10 | /** |
||
11 | * @var mixed |
||
12 | */ |
||
13 | private $createdBy; |
||
14 | |||
15 | /** |
||
16 | * @var mixed |
||
17 | */ |
||
18 | private $lastModifiedBy; |
||
19 | |||
20 | /** |
||
21 | * @param mixed $createdBy The creator of the content object. |
||
22 | * @return self |
||
23 | */ |
||
24 | public function setCreatedBy($createdBy) |
||
29 | |||
30 | /** |
||
31 | * @return mixed |
||
32 | */ |
||
33 | public function getCreatedBy() |
||
34 | { |
||
35 | return $this->createdBy; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param mixed $lastModifiedBy The last modification's username. |
||
40 | * @return self |
||
41 | */ |
||
42 | public function setLastModifiedBy($lastModifiedBy) |
||
47 | |||
48 | /** |
||
49 | * @return mixed |
||
50 | */ |
||
51 | public function getLastModifiedBy() |
||
55 | } |
||
56 |