PHP 클래스 ObjectCalisthenics\Sniffs\Metrics\MethodPerClassLimitSniff

저자: Guilherme Blanco ([email protected])
상속: implements PHP_CodeSniffer_Snif\PHP_CodeSniffer_Sniff
파일 보기 프로젝트 열기: object-calisthenics/phpcs-calisthenics-rules

보호된 프로퍼티들

프로퍼티 타입 설명
$maxCount integer Maximum amount of methods per class.

공개 메소드들

메소드 설명
process ( PHP_CodeSniffer_File $phpcsFile, $stackPtr )
register ( ) : array

비공개 메소드들

메소드 설명
getClassMethods ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : array

메소드 상세

process() 공개 메소드

public process ( PHP_CodeSniffer_File $phpcsFile, $stackPtr )
$phpcsFile PHP_CodeSniffer_File

register() 공개 메소드

public register ( ) : array
리턴 array

프로퍼티 상세

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

Maximum amount of methods per class.
protected int $maxCount
리턴 integer