Метод | Описание | |
---|---|---|
__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 ( ) : |
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. |
public __construct ( array $lines ) | ||
$lines | array |
public __toString ( ) : string | ||
Результат | string |
public getContent ( ) : string | ||
Результат | string |
public static getTagsWithTypes ( ) : string[] | ||
Результат | string[] |
public getTypes ( ) : string[] | ||
Результат | string[] |