PHP Interface JamesMoss\Flywheel\DocumentInterface

Mostra file Open project: jamesmoss/flywheel

Public Methods

Method Description
__construct ( array $data = [] ) Constructor
getId ( ) : string Get the document ID.
getInitialId ( ) : string Get the initial document ID.
setId ( string $id ) Set the document ID.

Method Details

__construct() public method

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

getId() public method

Get the document ID.
public getId ( ) : string
return string

getInitialId() public method

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

setId() public method

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