프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$file | string | The path to the file in which this element is defined | |
$line_number_end | integer | The ending line number of the element within the $file | |
$line_number_start | integer | The starting line number of the element within the $file |
메소드 | 설명 | |
---|---|---|
__toString ( ) : string | Get a string representation of the context | |
getFile ( ) : string | ||
getLineNumberStart ( ) : integer | * | |
getProjectRelativePath ( ) : string | ||
isInternal ( ) : boolean | ||
serialize ( ) | ||
unserialize ( $serialized ) | ||
withFile ( string $file ) : static | ||
withLineNumberEnd ( integer $line_number ) : static | ||
withLineNumberStart ( integer $line_number ) : static |
public __toString ( ) : string | ||
리턴 | string |
public getLineNumberStart ( ) : integer | ||
리턴 | integer | The starting line number of the element within the file |
public getProjectRelativePath ( ) : string | ||
리턴 | string | The path of the file relative to the project root directory |
public isInternal ( ) : boolean | ||
리턴 | boolean | True if this object is internal to PHP |
public withLineNumberEnd ( integer $line_number ) : static | ||
$line_number | integer | The ending line number of the element within the $file |
리턴 | static | This context with the given value is returned |
public withLineNumberStart ( integer $line_number ) : static | ||
$line_number | integer | |
리턴 | static | This context with the given value is returned |
protected string $file | ||
리턴 | string |
protected int $line_number_end | ||
리턴 | integer |
protected int $line_number_start | ||
리턴 | integer |