Zippy API
Interface

Alchemy\Zippy\ProcessBuilder\ProcessBuilderFactoryInterface

interface ProcessBuilderFactoryInterface

Methods

ProcessBuilder create()

Returns a new instance of Symfony ProcessBuilder

String getBinary()

Returns the binary path

ProcessBuilderFactoryInterface useBinary(String $binary)

Sets the binary path

Details

at line 26
public ProcessBuilder create()

Returns a new instance of Symfony ProcessBuilder

Return Value

ProcessBuilder

Exceptions

InvalidArgumentException

at line 33
public String getBinary()

Returns the binary path

Return Value

String

at line 44
public ProcessBuilderFactoryInterface useBinary(String $binary)

Sets the binary path

Parameters

String $binary A binary path

Return Value

ProcessBuilderFactoryInterface

Exceptions

InvalidArgumentException In case binary is not executable