Bånder

WatermarkFilter extends WatermarkFilter
in package

Table of Contents

Properties

$path  : mixed

Methods

__construct()  : mixed
normalizePath()  : string
Normalizes the path when running on Windows.
normalizeWindowsPath()  : string
Replaces the slashes and escapes the colon. For some reason, this filter doesn't work on Windows with absolute paths that contain forward slashes.
getCommands()  : array<string|int, mixed>
Gets the commands from the base filter and normalizes the path.

Properties

Methods

__construct()

public __construct(mixed $watermarkPath[, array<string|int, mixed> $coordinates = [] ][, mixed $priority = 0 ]) : mixed
Parameters
$watermarkPath : mixed
$coordinates : array<string|int, mixed> = []
$priority : mixed = 0

normalizePath()

Normalizes the path when running on Windows.

public static normalizePath(string $path) : string
Parameters
$path : string
Return values
string

normalizeWindowsPath()

Replaces the slashes and escapes the colon. For some reason, this filter doesn't work on Windows with absolute paths that contain forward slashes.

public static normalizeWindowsPath(string $path) : string
Parameters
$path : string
Return values
string

getCommands()

Gets the commands from the base filter and normalizes the path.

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

        
On this page

Search results