PHP 클래스 PhpCsFixer\AbstractPhpdocTypesFixer

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

보호된 프로퍼티들

프로퍼티 타입 설명
$tags string[] The annotation tags search inside.

공개 메소드들

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

보호된 메소드들

메소드 설명
normalize ( string $type ) : string Actually normalize the given type.

비공개 메소드들

메소드 설명
fixTypes ( Annotation $annotation ) Fix the types at the given line.
normalizeType ( string $type ) : string Prepare the type and normalize it.
normalizeTypes ( array $types ) : string[] Normalize the given types.

메소드 상세

__construct() 공개 메소드

public __construct ( )

fix() 공개 메소드

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

isCandidate() 공개 메소드

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

normalize() 추상적인 보호된 메소드

Actually normalize the given type.
abstract protected normalize ( string $type ) : string
$type string
리턴 string

프로퍼티 상세

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

The annotation tags search inside.
protected string[] $tags
리턴 string[]