Documentation

EndOfLineCharLinter
in package
implements CharLinter

Table of Contents

Interfaces

CharLinter

Methods

lintChar()  : bool|null
Performs lint for a given char, check end fo line part
isEndOfLineChar()  : bool
Check if a given char is an end of line token

Methods

lintChar()

Performs lint for a given char, check end fo line part

public lintChar(string $charValue, LintContext $lintContext) : bool|null
Parameters
$charValue : string
$lintContext : LintContext
Return values
bool|null

: true if the process should continue, else false, null if this char is not about end of line

isEndOfLineChar()

Check if a given char is an end of line token

protected isEndOfLineChar(string $charValue) : bool
Parameters
$charValue : string
Return values
bool

: true if the char is an end of line token, else false


        
On this page

Search results