Documentation

SeparatorFilter
in package
implements FilterInterface

Inserts a separator between assets to prevent merge failures e.g. missing semicolon at the end of a JS file

Tags
author

Robin McCorkell rmccorkell@karoshi.org.uk

Interfaces, Classes and Traits

FilterInterface
A filter manipulates an asset at load and dump.

Table of Contents

$separator  : string
__construct()  : mixed
Constructor.
filterDump()  : mixed
Filters an asset just before it's dumped.
filterLoad()  : mixed
Filters an asset after it has been loaded.

Properties

Methods

__construct()

Constructor.

public __construct([string $separator = ';' ]) : mixed
Parameters
$separator : string = ';'

Separator to use between assets

Return values
mixed

Search results