| 1 | <?php |
||
| 13 | class CleanParamParser implements ParserInterface, RobotsTxtInterface |
||
| 14 | { |
||
| 15 | use DirectiveParserCommons; |
||
| 16 | use UrlParser; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Clean-param array |
||
| 20 | * @var string[][] |
||
| 21 | */ |
||
| 22 | private $cleanParam = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * CleanParam constructor. |
||
| 26 | */ |
||
| 27 | public function __construct() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Add |
||
| 33 | * |
||
| 34 | * @param string $line |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public function add($line) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Client |
||
| 52 | * |
||
| 53 | * @return CleanParamClient |
||
| 54 | */ |
||
| 55 | public function client() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Render |
||
| 62 | * |
||
| 63 | * @return string[] |
||
| 64 | */ |
||
| 65 | public function render() |
||
| 76 | } |
||
| 77 |