| 1 | <?php |
||
| 15 | final class SearchCommand extends AbstractCommand |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * |
||
| 19 | */ |
||
| 20 | private CONST CHARSET_VALID = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-+.:_"; |
||
| 21 | /** |
||
| 22 | * @var Tag |
||
| 23 | */ |
||
| 24 | private $tag; |
||
| 25 | /** |
||
| 26 | * @var Query |
||
| 27 | */ |
||
| 28 | private $query; |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $charset; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * LogoutCommand constructor. |
||
| 36 | * @param Tag $tag |
||
| 37 | * @param Query $query |
||
| 38 | * @param string $charset |
||
| 39 | */ |
||
| 40 | public function __construct(Tag $tag, Query $query, string $charset = '') |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return StreamInterface |
||
| 53 | */ |
||
| 54 | protected function createStream(): StreamInterface |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return Tag |
||
| 67 | */ |
||
| 68 | public function getTag(): Tag |
||
| 72 | } |