1 | <?php |
||
4 | final class NoImageIndex implements directiveInterface |
||
5 | { |
||
6 | const DIRECTIVE = 'noimageindex'; |
||
7 | const MEANING = 'Do not index images on this page.'; |
||
8 | |||
9 | /** |
||
10 | * Constructor |
||
11 | * |
||
12 | * @param string $rule |
||
13 | */ |
||
14 | public function __construct($rule) |
||
18 | |||
19 | /** |
||
20 | * Get directive name |
||
21 | * |
||
22 | * @return string |
||
23 | */ |
||
24 | public function getDirective() |
||
28 | |||
29 | /** |
||
30 | * Get value |
||
31 | * |
||
32 | * @return bool|string|null |
||
33 | */ |
||
34 | public function getValue() |
||
38 | |||
39 | /** |
||
40 | * Get directive meaning |
||
41 | * |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getMeaning() |
||
48 | } |
||
49 |