PHP 클래스 Phan\Language\FileRef

상속: implements Serializable
파일 보기 프로젝트 열기: etsy/phan 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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

메소드 상세

__toString() 공개 메소드

Get a string representation of the context
public __toString ( ) : string
리턴 string

getFile() 공개 메소드

public getFile ( ) : string
리턴 string The path to the file in which the element is defined

getLineNumberStart() 공개 메소드

*
public getLineNumberStart ( ) : integer
리턴 integer The starting line number of the element within the file

getProjectRelativePath() 공개 메소드

public getProjectRelativePath ( ) : string
리턴 string The path of the file relative to the project root directory

isInternal() 공개 메소드

public isInternal ( ) : boolean
리턴 boolean True if this object is internal to PHP

serialize() 공개 메소드

public serialize ( )

unserialize() 공개 메소드

public unserialize ( $serialized )

withFile() 공개 메소드

public withFile ( string $file ) : static
$file string The path to the file in which this element is defined
리턴 static This context with the given value is returned

withLineNumberEnd() 공개 메소드

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

withLineNumberStart() 공개 메소드

public withLineNumberStart ( integer $line_number ) : static
$line_number integer
리턴 static This context with the given value is returned

프로퍼티 상세

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

The path to the file in which this element is defined
protected string $file
리턴 string

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

The ending line number of the element within the $file
protected int $line_number_end
리턴 integer

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

The starting line number of the element within the $file
protected int $line_number_start
리턴 integer