1 | <?php |
||
12 | trait LiveBlogPostingTrait |
||
13 | { |
||
14 | use BlogPostingTrait; |
||
15 | |||
16 | private $_coverageEndTime; |
||
17 | |||
18 | /** |
||
19 | * @return DateTime |
||
20 | */ |
||
21 | public function getCoverageEndTime() |
||
25 | |||
26 | /** |
||
27 | * The time when the live blog will stop covering the Event. Note that coverage may continue after the Event concludes. |
||
28 | * |
||
29 | * @param DateTime $coverageEndTime |
||
30 | * @return LiveBlogPosting|LiveBlogPostingTrait |
||
31 | */ |
||
32 | public function setCoverageEndTime($coverageEndTime) |
||
37 | |||
38 | private $_coverageStartTime; |
||
39 | |||
40 | /** |
||
41 | * @return DateTime |
||
42 | */ |
||
43 | public function getCoverageStartTime() |
||
47 | |||
48 | /** |
||
49 | * The time when the live blog will begin covering the Event. Note that coverage may begin before the Event's start time. |
||
50 | * The LiveBlogPosting may also be created before coverage begins. |
||
51 | * |
||
52 | * @param DateTime $coverageStartTime |
||
53 | * @return LiveBlogPosting|LiveBlogPostingTrait |
||
54 | */ |
||
55 | public function setCoverageStartTime($coverageStartTime) |
||
60 | |||
61 | private $_liveBlogUpdate; |
||
62 | |||
63 | /** |
||
64 | * @return BlogPosting |
||
65 | */ |
||
66 | public function getLiveBlogUpdate() |
||
70 | |||
71 | /** |
||
72 | * An update to the LiveBlog. |
||
73 | * |
||
74 | * @param BlogPosting $liveBlogUpdate |
||
75 | * @return LiveBlogPosting|LiveBlogPostingTrait |
||
76 | */ |
||
77 | public function setLiveBlogUpdate($liveBlogUpdate) |
||
82 | |||
83 | } |