@@ -72,6 +72,9 @@ |
||
| 72 | 72 | } |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $inputFile |
|
| 77 | + */ |
|
| 75 | 78 | private function createGlideServer($inputFile, string $watermarkPath = null): Server |
| 76 | 79 | { |
| 77 | 80 | $config = [ |
@@ -124,6 +124,9 @@ discard block |
||
| 124 | 124 | return ! is_null($this->manipulations->getFirstManipulationArgument('optimize')); |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | + /** |
|
| 128 | + * @param string $path |
|
| 129 | + */ |
|
| 127 | 130 | protected function performOptimization($path, array $optimizerChainConfiguration) |
| 128 | 131 | { |
| 129 | 132 | $optimizerChain = OptimizerChainFactory::create(); |
@@ -139,6 +142,9 @@ discard block |
||
| 139 | 142 | $optimizerChain->optimize($path); |
| 140 | 143 | } |
| 141 | 144 | |
| 145 | + /** |
|
| 146 | + * @param string $outputPath |
|
| 147 | + */ |
|
| 142 | 148 | protected function addFormatManipulation($outputPath) |
| 143 | 149 | { |
| 144 | 150 | if ($this->manipulations->hasManipulation('format')) { |