Bånder

AdvancedMedia extends AdvancedMedia
in package
uses InteractsWithBeforeSavingCallbacks, InteractsWithHttpHeaders

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>
make()  : self
Create a new instance of this class with the instance of the underlying library.
setBeforeSavingCallbacks()  : self
setHeaders()  : self
buildCommand()  : array<string|int, mixed>
Builds the command using the underlying library and then prepends every input with its own set of headers.
rebuildCommandWithCallbacks()  : 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>

make()

Create a new instance of this class with the instance of the underlying library.

public static make(AdvancedMedia $media) : self
Parameters
$media : AdvancedMedia
Return values
self

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 every input with its own set of headers.

protected buildCommand() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results