| 1 | <?php |
||
| 12 | final class ReadLogCommand |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | private $offset; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var int |
||
| 21 | */ |
||
| 22 | private $length; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param int $offset |
||
| 26 | * @param int $length |
||
| 27 | */ |
||
| 28 | public function __construct(int $offset, int $length) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return int |
||
| 36 | */ |
||
| 37 | public function getOffset(): int |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return int |
||
| 44 | */ |
||
| 45 | public function getLength(): int |
||
| 49 | } |
||
| 50 |