1: <?php
2:
3: namespace Charcoal\Cms;
4:
5: // From 'charcoal-translator'
6: use Charcoal\Translator\Translation;
7:
8: /**
9: *
10: */
11: interface TextInterface
12: {
13: /**
14: * @param mixed $title Text title (localized).
15: * @return self
16: */
17: public function setTitle($title);
18:
19: /**
20: * @return Translation|string|null
21: */
22: public function title();
23:
24: /**
25: * @param mixed $subtitle Text subtitle (localized).
26: * @return self
27: */
28: public function setSubtitle($subtitle);
29:
30: /**
31: * @return Translation|string|null
32: */
33: public function subtitle();
34:
35: /**
36: * @param mixed $content Text content (localized).
37: * @return self
38: */
39: public function setContent($content);
40:
41: /**
42: * @return Translation|string|null
43: */
44: public function content();
45: }
46: