@@ -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 = [ |
@@ -113,6 +113,9 @@ discard block |
||
| 113 | 113 | return ! is_null($this->manipulations->getFirstManipulationArgument('optimize')); |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | + /** |
|
| 117 | + * @param string $path |
|
| 118 | + */ |
|
| 116 | 119 | protected function performOptimization($path, array $optimizationOptions) |
| 117 | 120 | { |
| 118 | 121 | $factory = new OptimizerFactory($optimizationOptions); |
@@ -122,6 +125,9 @@ discard block |
||
| 122 | 125 | $optimizer->optimize($path); |
| 123 | 126 | } |
| 124 | 127 | |
| 128 | + /** |
|
| 129 | + * @param string $outputPath |
|
| 130 | + */ |
|
| 125 | 131 | protected function addFormatManipulation($outputPath) |
| 126 | 132 | { |
| 127 | 133 | if ($this->manipulations->hasManipulation('format')) { |