1 | <?php |
||
6 | class Parser extends Core |
||
7 | { |
||
8 | /** |
||
9 | * HTTP status code parser |
||
10 | * @var StatusCodeParser |
||
11 | */ |
||
12 | protected $statusCodeParser; |
||
13 | |||
14 | protected $origin; |
||
15 | protected $statusCode; |
||
16 | |||
17 | public function __construct($RobotsTxtURL, $statusCode, $content, $encoding = self::ENCODING, $byteLimit = self::BYTE_LIMIT) |
||
23 | |||
24 | /** |
||
25 | * Get sitemaps |
||
26 | * |
||
27 | * @return array |
||
28 | */ |
||
29 | public function getSitemaps() |
||
33 | |||
34 | /** |
||
35 | * Get host |
||
36 | * |
||
37 | * @return string|null |
||
38 | */ |
||
39 | public function getHost() |
||
43 | |||
44 | /** |
||
45 | * Get Clean-param |
||
46 | * |
||
47 | * @return array |
||
48 | */ |
||
49 | public function getCleanParam() |
||
53 | |||
54 | public function optimizeURL($url) |
||
58 | |||
59 | public function userAgent($string = self::USER_AGENT) |
||
68 | } |
||
69 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.