PHP 클래스 PhpCsFixer\DocBlock\Annotation

저자: Graham Campbell ([email protected])
파일 보기 프로젝트 열기: friendsofphp/php-cs-fixer 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $lines ) Create a new line instance.
__toString ( ) : string Get the string representation of object.
getContent ( ) : string Get the annotation content.
getEnd ( ) : integer Get the end position of this annotation.
getStart ( ) : integer Get the start position of this annotation.
getTag ( ) : Tag Get the associated tag.
getTagsWithTypes ( ) : string[] Get all the annotation tag names with types.
getTypes ( ) : string[] Get the types associated with this annotation.
remove ( ) Remove this annotation by removing all its lines.
setTypes ( array $types ) Set the types associated with this annotation.
supportTypes ( )

비공개 메소드들

메소드 설명
getTypesContent ( ) : string Get the current types content.

메소드 상세

__construct() 공개 메소드

Create a new line instance.
public __construct ( array $lines )
$lines array

__toString() 공개 메소드

Get the string representation of object.
public __toString ( ) : string
리턴 string

getContent() 공개 메소드

Get the annotation content.
public getContent ( ) : string
리턴 string

getEnd() 공개 메소드

Get the end position of this annotation.
public getEnd ( ) : integer
리턴 integer

getStart() 공개 메소드

Get the start position of this annotation.
public getStart ( ) : integer
리턴 integer

getTag() 공개 메소드

Get the associated tag.
public getTag ( ) : Tag
리턴 Tag

getTagsWithTypes() 공개 정적인 메소드

Get all the annotation tag names with types.
public static getTagsWithTypes ( ) : string[]
리턴 string[]

getTypes() 공개 메소드

Get the types associated with this annotation.
public getTypes ( ) : string[]
리턴 string[]

remove() 공개 메소드

Remove this annotation by removing all its lines.
public remove ( )

setTypes() 공개 메소드

Set the types associated with this annotation.
public setTypes ( array $types )
$types array

supportTypes() 공개 메소드

public supportTypes ( )