PHP Класс Flitch\Rule\Whitespace\Indentation

Наследование: extends Flitch\Rule\AbstractRule
Показать файл Открыть проект

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

Свойство Тип Описание
$indentCount integer Number of indentation characters per level.
$indentStyle string Indentation style, can be "space" or "tab".

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

Метод Описание
check ( File $file ) : void check(): defined by Rule interface.
setIndentCount ( integer $count ) : Indentation Set indentation count.
setIndentStyle ( string $style ) : Indentation Set indentation style.

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

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

check(): defined by Rule interface.
См. также: Rule::check()
public check ( File $file ) : void
$file Flitch\File\File
Результат void

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

Set indentation count.
public setIndentCount ( integer $count ) : Indentation
$count integer
Результат Indentation

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

Set indentation style.
public setIndentStyle ( string $style ) : Indentation
$style string
Результат Indentation

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

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

Number of indentation characters per level.
protected int $indentCount
Результат integer

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

Indentation style, can be "space" or "tab".
protected string $indentStyle
Результат string