equal
deleted
inserted
replaced
54 |
54 |
55 /** |
55 /** |
56 * @var string $alternativeWikipediaUrl |
56 * @var string $alternativeWikipediaUrl |
57 */ |
57 */ |
58 protected $alternativeWikipediaUrl; |
58 protected $alternativeWikipediaUrl; |
59 |
59 |
60 |
|
61 /** |
60 /** |
62 * @var bigint $wikipediaPageId |
61 * @var bigint $wikipediaPageId |
63 */ |
62 */ |
64 protected $wikipediaPageId; |
63 protected $wikipediaPageId; |
65 |
64 |
90 |
89 |
91 /** |
90 /** |
92 * @var ArrayCollection $documents |
91 * @var ArrayCollection $documents |
93 */ |
92 */ |
94 protected $documents; |
93 protected $documents; |
95 |
94 |
96 |
95 /** |
|
96 * @var DateTime |
|
97 */ |
|
98 protected $createdAt; |
|
99 |
|
100 |
|
101 /** |
|
102 * |
|
103 * construct the class |
|
104 */ |
|
105 function __construct() |
|
106 { |
|
107 $this->createdAt = new \DateTime("now", new \DateTimeZone('UTC')); |
|
108 } |
|
109 |
97 /** |
110 /** |
98 * Get id |
111 * Get id |
99 * |
112 * |
100 * @return integer |
113 * @return integer |
101 */ |
114 */ |
394 * @return object |
407 * @return object |
395 */ |
408 */ |
396 function getCategory() |
409 function getCategory() |
397 { |
410 { |
398 return $this->category; |
411 return $this->category; |
|
412 } |
|
413 |
|
414 /** |
|
415 * (non-PHPdoc) |
|
416 * @see IRI\Bundle\WikiTagBundle\Model.TagInterface::getCreatedAt() |
|
417 */ |
|
418 function getCreatedAt() |
|
419 { |
|
420 return $this->createdAt; |
399 } |
421 } |
400 |
422 |
401 /** |
423 /** |
402 * Get Documents |
424 * Get Documents |
403 * |
425 * |