| 1 |
<?php |
| 2 |
|
| 3 |
namespace WebPConvert\Tests\Convert\Exposers; |
| 4 |
|
| 5 |
use WebPConvert\Serve\ServeConvertedWebP; |
| 6 |
use WebPConvert\Tests\BaseExposer; |
| 7 |
|
| 8 |
/** |
| 9 |
* Class for exposing otherwise unaccessible methods of AbstractConverter, |
| 10 |
* - so they can be tested |
| 11 |
* |
| 12 |
* TODO: expose and test more methods! (and make more methods private/protected in AbstractConverter) |
| 13 |
*/ |
| 14 |
class ServeConvertedWebPExposer extends BaseExposer { |
| 15 |
|
| 16 |
public function __construct($instance) |
| 17 |
{ |
| 18 |
parent::__construct($instance); |
| 19 |
} |
| 20 |
/* |
| 21 |
public function serveDestination($destination, $options) |
| 22 |
{ |
| 23 |
return $this->callPrivateFunction('serveDestination', null, $destination, $options); |
| 24 |
}*/ |
| 25 |
} |
| 26 |
|