PHP Class PHPExiftool\Exiftool

Inheritance: implements Psr\Log\LoggerAwareInterface
Datei anzeigen Open project: romainneutron/PHPExiftool Class Usage Examples

Public Methods

Method Description
__construct ( Psr\Log\LoggerInterface $logger )
executeCommand ( string $command ) : string Execute a command and return the output
setLogger ( Psr\Log\LoggerInterface $logger )

Protected Methods

Method Description
getBinary ( ) : string

Method Details

__construct() public method

public __construct ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface

executeCommand() public method

Execute a command and return the output
public executeCommand ( string $command ) : string
$command string
return string

getBinary() protected static method

protected static getBinary ( ) : string
return string

setLogger() public method

public setLogger ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface