getId() public méthode

returns id
public getId ( ) : string
Résultat string id
Exemple #1
0
 /**
  * Test for Theme::getId
  *
  * @return void
  */
 public function testGetSetId()
 {
     $this->assertEmpty($this->object->getId(), 'ID is empty by default');
     $this->object->setId('NewID');
     $this->assertEquals('NewID', $this->object->getId());
 }