JamesMoss\Flywheel\Document::getId PHP Method

getId() public method

Get the document ID.
public getId ( ) : string
return string
    public function getId()
    {
        return $this->__flywheelDocId;
    }

Usage Example

Beispiel #1
0
 public function testGettingId()
 {
     $doc = new Document(array('mike' => 'snow'));
     $doc->setId('albums');
     $this->assertEquals('albums', $doc->getId());
 }