Bånder

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

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>

setBeforeSavingCallbacks()

public setBeforeSavingCallbacks(array<string|int, mixed> $beforeSavingCallbacks) : self
Parameters
$beforeSavingCallbacks : array<string|int, mixed>
Return values
self

setHeaders()

public setHeaders([array<string|int, mixed> $headers = [] ]) : self
Parameters
$headers : array<string|int, mixed> = []
Return values
self

buildCommand()

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>

rebuildCommandWithHeaders()

private rebuildCommandWithHeaders(mixed $command) : mixed
Parameters
$command : mixed

        
On this page

Search results