PHP Class Flitch\Rule\Whitespace\Indentation

Inheritance: extends Flitch\Rule\AbstractRule
Afficher le fichier Open project: dasprid/flitch

Protected Properties

Свойство Type Description
$indentCount integer Number of indentation characters per level.
$indentStyle string Indentation style, can be "space" or "tab".

Méthodes publiques

Méthode Description
check ( File $file ) : void check(): defined by Rule interface.
setIndentCount ( integer $count ) : Indentation Set indentation count.
setIndentStyle ( string $style ) : Indentation Set indentation style.

Method Details

check() public méthode

check(): defined by Rule interface.
See also: Rule::check()
public check ( File $file ) : void
$file Flitch\File\File
Résultat void

setIndentCount() public méthode

Set indentation count.
public setIndentCount ( integer $count ) : Indentation
$count integer
Résultat Indentation

setIndentStyle() public méthode

Set indentation style.
public setIndentStyle ( string $style ) : Indentation
$style string
Résultat Indentation

Property Details

$indentCount protected_oe property

Number of indentation characters per level.
protected int $indentCount
Résultat integer

$indentStyle protected_oe property

Indentation style, can be "space" or "tab".
protected string $indentStyle
Résultat string