PHP 클래스 Flitch\Rule\File\Encoding

상속: extends Flitch\Rule\AbstractRule, implements Flitch\Rule\FileRuleInterface
파일 보기 프로젝트 열기: dasprid/flitch

보호된 프로퍼티들

프로퍼티 타입 설명
$allowBom boolean Whether to allow byte order marks.
$byteOrderMarks array Possible byte order marks.
$encoding string Encoding of the source.

공개 메소드들

메소드 설명
setAllowBom ( boolean $allowBom ) : Encoding Set whether to allow byte order marks.
setEncoding ( string $encoding ) : Encoding Set encoding.
visitFile ( File $file ) : void visitFile(): defined by FileRuleInterface.

메소드 상세

setAllowBom() 공개 메소드

Set whether to allow byte order marks.
public setAllowBom ( boolean $allowBom ) : Encoding
$allowBom boolean
리턴 Encoding

setEncoding() 공개 메소드

Set encoding.
public setEncoding ( string $encoding ) : Encoding
$encoding string
리턴 Encoding

visitFile() 공개 메소드

visitFile(): defined by FileRuleInterface.
또한 보기: FileRuleInterface::visitFile()
public visitFile ( File $file ) : void
$file Flitch\File\File
리턴 void

프로퍼티 상세

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

Whether to allow byte order marks.
protected bool $allowBom
리턴 boolean

$byteOrderMarks 보호되어 있는 정적으로 프로퍼티

Possible byte order marks.
protected static array $byteOrderMarks
리턴 array

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

Encoding of the source.
protected string $encoding
리턴 string