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
$path
protected
mixed
$path
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
stringnormalizeWindowsPath()
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
stringgetCommands()
Gets the commands from the base filter and normalizes the path.
protected
getCommands() : array<string|int, mixed>