PHP 인터페이스 JamesMoss\Flywheel\DocumentInterface

파일 보기 프로젝트 열기: jamesmoss/flywheel

공개 메소드들

메소드 설명
__construct ( array $data = [] ) Constructor
getId ( ) : string Get the document ID.
getInitialId ( ) : string Get the initial document ID.
setId ( string $id ) Set the document ID.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( array $data = [] )
$data array An associative array, each key/value pair will be turned into properties on this object.

getId() 공개 메소드

Get the document ID.
public getId ( ) : string
리턴 string

getInitialId() 공개 메소드

Get the initial document ID.
public getInitialId ( ) : string
리턴 string

setId() 공개 메소드

Set the document ID.
public setId ( string $id )
$id string