id() публичный Метод

Will set a new id on the table.
public id ( string $tableId )
$tableId string The new id that should be used for the DOM table
Пример #1
0
 public function testId()
 {
     $this->viewFactory->shouldReceive('make')->withArgs(['fooTable', ['columns' => ['id' => 'id'], 'showHeaders' => false, 'id' => 123, 'endpoint' => '/']])->times(1)->andReturn($this->view);
     $this->dtv2->id("123");
     $this->dtv2->table();
 }