| 1 | <?php |
||
| 14 | final class FilterPathContainer |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $source; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $target; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var mixed[] |
||
| 28 | */ |
||
| 29 | private $options; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param mixed[] $options |
||
| 33 | */ |
||
| 34 | public function __construct(string $source, string $target = '', array $options = []) |
||
| 40 | |||
| 41 | public function createWebp(array $options): self |
||
| 51 | |||
| 52 | public function getSource(): string |
||
| 56 | |||
| 57 | public function getTarget(): string |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return mixed[] |
||
| 64 | */ |
||
| 65 | public function getOptions(): array |
||
| 69 | } |
||
| 70 |