PHP 클래스 Flitch\Rule\Manager

파일 보기 프로젝트 열기: dasprid/flitch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$globalPath string Global standards path.
$listenerTokens array Tokens to listen to.
$loader Loader Rule loader.
$localPath string Local standards path.
$rules string Rules in current standard.
$standard string Name of the current standard.

공개 메소드들

메소드 설명
__construct ( string $globalPath, string $localPath, $standard ) : void Create a new rule manager.
check ( File $file ) : void Check a given file for all rules.

보호된 메소드들

메소드 설명
loadStandard ( ) : void Load a coding standard.
loadStandardFile ( string $name ) : array Load a coding standard.

메소드 상세

__construct() 공개 메소드

Create a new rule manager.
public __construct ( string $globalPath, string $localPath, $standard ) : void
$globalPath string
$localPath string
리턴 void

check() 공개 메소드

Check a given file for all rules.
public check ( File $file ) : void
$file Flitch\File\File
리턴 void

loadStandard() 보호된 메소드

Load a coding standard.
protected loadStandard ( ) : void
리턴 void

loadStandardFile() 보호된 메소드

Load a coding standard.
protected loadStandardFile ( string $name ) : array
$name string
리턴 array

프로퍼티 상세

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

Global standards path.
protected string $globalPath
리턴 string

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

Tokens to listen to.
protected array $listenerTokens
리턴 array

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

Rule loader.
protected Loader,Flitch\Rule $loader
리턴 Loader

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

Local standards path.
protected string $localPath
리턴 string

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

Rules in current standard.
protected string $rules
리턴 string

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

Name of the current standard.
protected string $standard
리턴 string