PHP 인터페이스 Flitch\Rule\TokenRuleInterface

Rules implementing this interface will be able to register for certain tokens and be notified for each occurence.
파일 보기 프로젝트 열기: dasprid/flitch

공개 메소드들

메소드 설명
getListenerTokens ( ) : array Get all tokens the rule should listen to.
visitToken ( File $file ) : void Check a given file for rule violations at the given position.

메소드 상세

getListenerTokens() 공개 메소드

Get all tokens the rule should listen to.
public getListenerTokens ( ) : array
리턴 array

visitToken() 공개 메소드

Check a given file for rule violations at the given position.
public visitToken ( File $file ) : void
$file Flitch\File\File
리턴 void