tests/Brendt/Image/Scaler/FileSizeScalerTest.php 1 location
|
@@ 35-42 (lines=8) @@
|
32 |
|
*/ |
33 |
|
private $engine; |
34 |
|
|
35 |
|
public function __construct() { |
36 |
|
parent::__construct(); |
37 |
|
|
38 |
|
$this->fs = new Filesystem(); |
39 |
|
$this->engine = new ImageManager([ |
40 |
|
'driver' => 'gd', |
41 |
|
]); |
42 |
|
} |
43 |
|
|
44 |
|
public function __destruct() { |
45 |
|
if ($this->fs->exists($this->publicPath)) { |
tests/Brendt/Image/Scaler/WidthScalerTest.php 1 location
|
@@ 36-43 (lines=8) @@
|
33 |
|
*/ |
34 |
|
private $engine; |
35 |
|
|
36 |
|
public function __construct() { |
37 |
|
parent::__construct(); |
38 |
|
|
39 |
|
$this->fs = new Filesystem(); |
40 |
|
$this->engine = new ImageManager([ |
41 |
|
'driver' => 'gd', |
42 |
|
]); |
43 |
|
} |
44 |
|
|
45 |
|
public function __destruct() { |
46 |
|
if ($this->fs->exists($this->publicPath)) { |