# Swfrender

class Swfrender extends Binary (View source)

## Methods

string|null
getVersion()

Try to get the version of the binary. If the detection fails, return null

from Binary
getName()

{@inheritdoc}

render(string $pathfile, string $outputFile, bool $legacy)

Renders an SWF file.

static Swfrender
create(array|ConfigurationInterface $conf = array(), LoggerInterface $logger = null)

Creates the Swfrender binary driver

## Details

###
in Binary at line 28
`string|null getVersion()`

Try to get the version of the binary. If the detection fails, return null

#### Return Value

string|null |

###
at line 26
`getName()`

{@inheritdoc}

###
at line 41
`render(string $pathfile, string $outputFile, bool $legacy)`

Renders an SWF file.

#### Parameters

string | $pathfile |
string | $outputFile |
bool | $legacy |

#### Exceptions

InvalidArgumentException |
RuntimeException |

###
at line 70
`static Swfrender create(array|ConfigurationInterface $conf = array(), LoggerInterface $logger = null)`

Creates the Swfrender binary driver

#### Parameters

array|ConfigurationInterface | $conf |
LoggerInterface | $logger |

#### Return Value

Swfrender |

#### Exceptions

ExecutableNotFound | In case the executable is not found