| 1 | <?php |
||
| 9 | final class DeletePersistentSubscriptionRequestFactory implements RequestFactoryInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var StreamId |
||
| 13 | */ |
||
| 14 | private $streamId; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $groupName; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param StreamId $streamId |
||
| 23 | * @param string $groupName |
||
| 24 | */ |
||
| 25 | public function __construct(StreamId $streamId, string $groupName) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return RequestInterface |
||
| 33 | */ |
||
| 34 | public function buildRequest(): RequestInterface |
||
| 44 | } |
||
| 45 |