| 1 | <?php |
||
| 6 | final class FileTransportOptions |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | private $directory; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var \Closure |
||
| 15 | */ |
||
| 16 | private $fileNameGenerator; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $directory |
||
| 20 | * @param \Closure $fileNameGenerator |
||
| 21 | */ |
||
| 22 | 1 | public function __construct(string $directory, \Closure $fileNameGenerator) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 1 | public function getDirectory(): string |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return \Closure |
||
| 38 | */ |
||
| 39 | 1 | public function getFileNameGenerator(): \Closure |
|
| 43 | } |
||
| 44 |