| 1 | <?php |
||
| 4 | class Request { |
||
| 5 | |||
| 6 | /** |
||
| 7 | * @var string |
||
| 8 | */ |
||
| 9 | private $binary; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | private $type; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param int $type OpcodeEnum::* constants |
||
| 18 | * @param string $binary |
||
| 19 | */ |
||
| 20 | public function __construct($type, $binary = '') { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return int |
||
| 27 | */ |
||
| 28 | public function getType() { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function __toString() { |
||
| 38 | } |