PHP 클래스 Squiz_Sniffs_Scope_MethodScopeSniff, PHP_CodeSniffer

저자: Greg Sherwood ([email protected])
저자: Marc McIntyre ([email protected])
상속: extends PHP_CodeSniffer_Standards_AbstractScopeSniff
파일 보기 프로젝트 열기: squizlabs/php_codesniffer 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructs a Squiz_Sniffs_Scope_MethodScopeSniff.

보호된 메소드들

메소드 설명
processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void Processes the function tokens within the class.

메소드 상세

__construct() 공개 메소드

Constructs a Squiz_Sniffs_Scope_MethodScopeSniff.
public __construct ( )

processTokenWithinScope() 보호된 메소드

Processes the function tokens within the class.
protected processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void
$phpcsFile PHP_CodeSniffer_File The file where this token was found.
$stackPtr integer The position where the token was found.
$currScope integer The current scope opener token.
리턴 void