1 | <?php |
||
5 | final class NameMeta |
||
6 | { |
||
7 | const DOCUMENT_STATE_STATIC = 'static'; |
||
8 | const DOCUMENT_STATE_DYNAMIC = 'dynamic'; |
||
9 | |||
10 | /** |
||
11 | * @param string[] $keywords |
||
12 | * |
||
13 | * @return HtmlMetaInterface |
||
14 | */ |
||
15 | 2 | public static function keywords(array $keywords) |
|
19 | |||
20 | /** |
||
21 | * @param string $description |
||
22 | * |
||
23 | * @return HtmlMetaInterface |
||
24 | */ |
||
25 | public static function description($description) |
||
29 | |||
30 | /** |
||
31 | * @param string|string[] $robots |
||
32 | * |
||
33 | * @return HtmlMetaInterface |
||
34 | */ |
||
35 | public static function robots($robots) |
||
43 | |||
44 | /** |
||
45 | * @param string $author |
||
46 | * |
||
47 | * @return HtmlMetaInterface |
||
48 | */ |
||
49 | public static function author($author) |
||
53 | |||
54 | /** |
||
55 | * @param string $copyright |
||
56 | * |
||
57 | * @return HtmlMetaInterface |
||
58 | */ |
||
59 | public static function copyright($copyright) |
||
63 | |||
64 | /** |
||
65 | * @param string $state |
||
66 | * |
||
67 | * @return HtmlMetaInterface |
||
68 | */ |
||
69 | public static function documentState($state = self::DOCUMENT_STATE_DYNAMIC) |
||
73 | |||
74 | /** |
||
75 | * @param string $generator |
||
76 | * |
||
77 | * @return HtmlMetaInterface |
||
78 | */ |
||
79 | public static function generator($generator) |
||
83 | |||
84 | /** |
||
85 | * @param string $subject |
||
86 | * |
||
87 | * @return HtmlMetaInterface |
||
88 | */ |
||
89 | public static function subject($subject) |
||
93 | |||
94 | /** |
||
95 | * @param string $url |
||
96 | * |
||
97 | * @return HtmlMetaInterface |
||
98 | */ |
||
99 | public static function url($url) |
||
103 | |||
104 | /** |
||
105 | * @param int $days |
||
106 | * |
||
107 | * @return HtmlMetaInterface |
||
108 | */ |
||
109 | public static function revisit($days) |
||
113 | } |
||
114 |