PHP 클래스 phpDocumentor\Reflection\DocBlock\Tag\ExampleTag

저자: Vasil Rangelov ([email protected])
상속: extends phpDocumentor\Reflection\DocBlock\Tag\SourceTag
파일 보기 프로젝트 열기: explodybits/hookr-plugin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$filePath Path to a file to use as an example. May also be an absolute URI.
$isURI Whether the file path component represents an URI. This determines how the file portion appears at {@link getContent()}.

공개 메소드들

메소드 설명
getContent ( )
getFilePath ( ) : string Returns the file path.
setContent ( $content )
setFilePath ( string $filePath ) Sets the file path.
setFileURI ( type $uri ) Sets the file path as an URI.

메소드 상세

getContent() 공개 메소드

public getContent ( )

getFilePath() 공개 메소드

Returns the file path.
public getFilePath ( ) : string
리턴 string Path to a file to use as an example. May also be an absolute URI.

setContent() 공개 메소드

public setContent ( $content )

setFilePath() 공개 메소드

Sets the file path.
public setFilePath ( string $filePath )
$filePath string The new file path to use for the example.

setFileURI() 공개 메소드

This function is equivalent to {@link setFilePath()}, except that it convers an URI to a file path before that. There is no getFileURI(), as {@link getFilePath()} is compatible.
public setFileURI ( type $uri )
$uri type The new file URI to use as an example.

프로퍼티 상세

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

Path to a file to use as an example. May also be an absolute URI.
protected $filePath

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

Whether the file path component represents an URI. This determines how the file portion appears at {@link getContent()}.
protected $isURI