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