PHP 클래스 PhpCsFixer\Fixer\Phpdoc\PhpdocSeparationFixer

저자: Graham Campbell ([email protected])
상속: extends PhpCsFixer\AbstractFixer
파일 보기 프로젝트 열기: friendsofphp/php-cs-fixer

공개 메소드들

메소드 설명
fix ( SplFileInfo $file, Tokens $tokens )
isCandidate ( Tokens $tokens )

보호된 메소드들

메소드 설명
getDescription ( )

비공개 메소드들

메소드 설명
ensureAreSeparate ( PhpCsFixer\DocBlock\DocBlock $doc, Annotation $first, Annotation $second ) Force the given annotations to have one empty line between each other.
ensureAreTogether ( PhpCsFixer\DocBlock\DocBlock $doc, Annotation $first, Annotation $second ) Force the given annotations to immediately follow each other.
fixAnnotations ( PhpCsFixer\DocBlock\DocBlock $doc ) : string Make sure the annotations are correctly separated.
fixDescription ( PhpCsFixer\DocBlock\DocBlock $doc ) Make sure the description is separated from the annotations.

메소드 상세

fix() 공개 메소드

public fix ( SplFileInfo $file, Tokens $tokens )
$file SplFileInfo
$tokens PhpCsFixer\Tokenizer\Tokens

getDescription() 보호된 메소드

protected getDescription ( )

isCandidate() 공개 메소드

public isCandidate ( Tokens $tokens )
$tokens PhpCsFixer\Tokenizer\Tokens