init() public method

Initiliaze document
public init ( integer $documentId = null ) : void
$documentId integer Document id
return void
示例#1
0
 /**
  * Test
  *
  * @return void
  */
 public function testInit()
 {
     $id = $this->object->getId();
     $this->object->init($id);
     $this->assertEquals($id, $this->object->getId());
 }