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

string|null getVersion()

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

Return Value

string|null

getName()

{@inheritdoc}

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

Renders an SWF file.

Parameters

string $pathfile
string $outputFile
bool $legacy

Exceptions

InvalidArgumentException
RuntimeException

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