Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function __construct(string $path, string $file, int $quality, int $width = 0) |
||
44 | { |
||
45 | $this->setPath($path); |
||
46 | $this->setFile($file); |
||
47 | $this->setQuality($quality); |
||
48 | $this->setInput($this->getPath() ."/". $this->getFile()); |
||
49 | $this->setWidth($width); |
||
50 | //create dir temp |
||
51 | $pathOut = $this->getPath() . "/compress_temp"; |
||
52 | $this->createDir($pathOut); |
||
53 | $this->setOutput($pathOut . "/" . $this->getFile()); |
||
54 | } |
||
161 | } |