Property | Type | Description | |
---|---|---|---|
$options | array | Options available to the Converter |
Method | Description | |
---|---|---|
convert ( string | H2P\Request | H2P\TempFile $origin, string | H2P\TempFile $destination ) | Convert the file, passing the right arguments to the Converter::transform (proxy pattern) | |
getOption ( $option ) : mixed | Get an specific option | |
getOptions ( ) : array | Return all the options set | |
setOption ( string $option, mixed $value ) : |
Set an option | |
setOptions ( array $options ) : |
Set multiple options from an array |
Method | Description | |
---|---|---|
transform ( H2P\Request $origin, string $destination ) : boolean | Convert the URI to destination with the specified options |
public setOptions ( array $options ) : |
||
$options | array | |
return | $this |
protected array $options | ||
return | array |