RebuildsCommands uses trait:short, trait:short
Table of Contents
Properties
- $beforeSavingCallbacks : array<string|int, mixed>
- $headers : array<string|int, mixed>
Methods
- compileHeaders() : array<string|int, mixed>
- Maps the headers into a key-value string for FFmpeg. Returns an array of arguments to pass into the command.
- getHeaders() : array<string|int, mixed>
- setBeforeSavingCallbacks() : self
- setHeaders() : self
- buildCommand() : array<string|int, mixed>
- Builds the command using the underlying library and then prepends the input with the headers.
- rebuildCommandWithCallbacks() : mixed
- rebuildCommandWithHeaders() : mixed
Properties
$beforeSavingCallbacks
protected
array<string|int, mixed>
$beforeSavingCallbacks
= []
$headers
protected
array<string|int, mixed>
$headers
= []
Methods
compileHeaders()
Maps the headers into a key-value string for FFmpeg. Returns an array of arguments to pass into the command.
public
static compileHeaders([array<string|int, mixed> $headers = [] ]) : array<string|int, mixed>
Parameters
- $headers : array<string|int, mixed> = []
Return values
array<string|int, mixed>getHeaders()
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>setBeforeSavingCallbacks()
public
setBeforeSavingCallbacks(array<string|int, mixed> $beforeSavingCallbacks) : self
Parameters
- $beforeSavingCallbacks : array<string|int, mixed>
Return values
selfsetHeaders()
public
setHeaders([array<string|int, mixed> $headers = [] ]) : self
Parameters
- $headers : array<string|int, mixed> = []
Return values
selfbuildCommand()
Builds the command using the underlying library and then prepends the input with the headers.
protected
buildCommand(FormatInterface $format, string $outputPathfile) : array<string|int, mixed>
Parameters
- $format : FormatInterface
- $outputPathfile : string
Return values
array<string|int, mixed>rebuildCommandWithCallbacks()
protected
rebuildCommandWithCallbacks(mixed $command) : mixed
Parameters
- $command : mixed
rebuildCommandWithHeaders()
private
rebuildCommandWithHeaders(mixed $command) : mixed
Parameters
- $command : mixed