1: <?php
2:
3: namespace Charcoal\Cms;
4:
5: use Charcoal\Translator\Translation;
6:
7: /**
8: *
9: */
10: interface NewsInterface
11: {
12: /**
13: * @param mixed $title News title (localized).
14: * @return self
15: */
16: public function setTitle($title);
17:
18: /**
19: * @return Translation|string|null
20: */
21: public function title();
22:
23: /**
24: * @param mixed $subtitle News subtitle (localized).
25: * @return self
26: */
27: public function setSubtitle($subtitle);
28:
29: /**
30: * @return Translation|string|null
31: */
32: public function subtitle();
33:
34: /**
35: * @param mixed $content News content (localized).
36: * @return self
37: */
38: public function setContent($content);
39:
40: /**
41: * @return Translation|string|null
42: */
43: public function content();
44:
45: /**
46: * @param mixed $newsDate The news date.
47: * @return self
48: */
49: public function setNewsDate($newsDate);
50:
51: /**
52: * @return \DateTimeInterface|null
53: */
54: public function newsDate();
55:
56: /**
57: * @param mixed $url The URL that provides additional information ont he news (localized).
58: * @return self
59: */
60: public function setInfoUrl($url);
61:
62: /**
63: * @return Translation|string|null
64: */
65: public function infoUrl();
66: }
67: