PHP 클래스 HippoPHP\Hippo\Checks\Naming\EncodingCheck

상속: extends HippoPHP\Hippo\Checks\AbstractCheck, implements HippoPHP\Hippo\Checks\CheckInterface
파일 보기 프로젝트 열기: hippophp/hippo

보호된 프로퍼티들

프로퍼티 타입 설명
$bom boolean Are we checking for a BOM too?
$encoding string File encoding to check for.

공개 메소드들

메소드 설명
getConfigRoot ( ) : string
setEncodingType ( string $encoding ) Sets the file encoding type to check for.
setWithBOM ( boolean $bom ) Do we want to use BOM?

보호된 메소드들

메소드 설명
checkFileInternal ( CheckContext $checkContext, Config $config ) checkFileInternal(): defined by AbstractCheck.

메소드 상세

checkFileInternal() 보호된 메소드

checkFileInternal(): defined by AbstractCheck.
또한 보기: AbstractCheck::checkFileInternal()
protected checkFileInternal ( CheckContext $checkContext, Config $config )
$checkContext HippoPHP\Hippo\CheckContext
$config HippoPHP\Hippo\Config\Config

getConfigRoot() 공개 메소드

public getConfigRoot ( ) : string
리턴 string

setEncodingType() 공개 메소드

Sets the file encoding type to check for.
public setEncodingType ( string $encoding )
$encoding string

setWithBOM() 공개 메소드

Do we want to use BOM?
public setWithBOM ( boolean $bom )
$bom boolean

프로퍼티 상세

$bom 보호되어 있는 프로퍼티

Are we checking for a BOM too?
protected bool $bom
리턴 boolean

$encoding 보호되어 있는 프로퍼티

File encoding to check for.
protected string $encoding
리턴 string