1 | <?php |
||
8 | final class ReadEventStreamViaPersistentSubscriptionRequestFactory implements RequestFactoryInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var int |
||
12 | */ |
||
13 | private $batchSize; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $uri; |
||
19 | |||
20 | /** |
||
21 | * @param string $uri |
||
22 | * @param int|null $batchSize |
||
23 | */ |
||
24 | public function __construct(string $uri, int $batchSize = 1) |
||
29 | |||
30 | /** |
||
31 | * @return RequestInterface |
||
32 | */ |
||
33 | public function buildRequest(): RequestInterface |
||
52 | } |
||
53 |