PHP Класс MiniAsset\Filter\FilterCollection

Наследование: implements Countabl\Countable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$filters

Открытые методы

Метод Описание
__construct ( array $filters )
count ( ) : integer Get the number of filters in this collection.
filters ( ) : array Get the filters in the collection.
input ( string $file, string $content ) : string Apply all the input filters in sequence to the file and content.
output ( $target, string $content ) : string Apply all the output filters in sequence to the file and content.

Описание методов

__construct() публичный Метод

public __construct ( array $filters )
$filters array

count() публичный Метод

Get the number of filters in this collection.
public count ( ) : integer
Результат integer

filters() публичный Метод

Get the filters in the collection.
public filters ( ) : array
Результат array

input() публичный Метод

Apply all the input filters in sequence to the file and content.
public input ( string $file, string $content ) : string
$file string Filename being processed.
$content string The content of the file.
Результат string The content with all input filters applied.

output() публичный Метод

Apply all the output filters in sequence to the file and content.
public output ( $target, string $content ) : string
$content string The content of the file.
Результат string The content with all output filters applied.

Описание свойств

$filters защищенное свойство

protected $filters