PHP-SwfTools API
Interface

SwfTools\Binary\AdapterInterface

interface AdapterInterface

The adapter interface.

SwfTools binaries adapters should implement this
interface

Methods

string getVersion()

Return the version of the binary adapter

static  load(Configuration $configuration, Logger $logger)

Load the binary adapter.

Details

at line 28
public string getVersion()

Return the version of the binary adapter

Return Value

string The version of the binary adapter

at line 37
static public load(Configuration $configuration, Logger $logger)

Load the binary adapter.

If the configuration contains a parameter, use
it as pathfile, otherwise, autodetect the binary

Parameters

Configuration $configuration
Logger $logger A logger