1 | <?php |
||
9 | final class NoIndex implements DirectiveInterface |
||
10 | { |
||
11 | const DIRECTIVE = 'noindex'; |
||
12 | const MEANING = 'Do not show this page in search results and do not show a `Cached` link in search results.'; |
||
13 | |||
14 | /** |
||
15 | * Constructor |
||
16 | * |
||
17 | * @param string $rule |
||
18 | */ |
||
19 | public function __construct($rule) |
||
23 | |||
24 | /** |
||
25 | * Get directive name |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function getDirective() |
||
33 | |||
34 | /** |
||
35 | * Get value |
||
36 | * |
||
37 | * @return bool|string|null |
||
38 | */ |
||
39 | public function getValue() |
||
43 | |||
44 | /** |
||
45 | * Get directive meaning |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getMeaning() |
||
53 | } |
||
54 |