Craft\Import_HistoryService::clear PHP Method

clear() public method

Clear history.
public clear ( integer $history )
$history integer
    public function clear($history)
    {
        // TODO
    }

Usage Example

 /**
  * @covers ::clear
  */
 public function testClearShouldDoNothing()
 {
     $service = new Import_HistoryService();
     $result = $service->clear(1);
     $this->assertNull($result);
 }